on 06-03-2010 9:53 AM
I have a file called stderr1 in the work directory of several of the SAP servers in my production cluster. It has grown to around 19GB's to fill the hard disk on each server.
I have deleted all trace files and WP files from within transaction SM50 but that hasn't deleted it (or re-named it to .old).
If I try to rename or delete it manually, it says I can't because the file is in use.
Please can you tell me how I can reset or shrink the stderr1 file?
You can delete, rename, backup, etc stderr1.. when the system is offline.
Also, before youd delete the file, I'll have a look at it to see if theres any particular reason why is it growing so quickly...
Regards
Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As it is a production server we don't want to bring it off-line unless we have to. Is there a way to reduce the file size while the SAP system is online?
The system is running okay except for some activities such as printing (where it creates a spool request), etc.
From our Windows system monitoring tools, we can see that the file grew really quckly at 5pm last night, but we do not know why.
Thanks.
If you can't shutdown the system currently and this is a Linux/Unix based system, make a backup of the file then you can try a 'cat /dev/null > stderr1'
Edit: saw it was Windows after posting message
Nelis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you have no other choice than stopping/restarting the system to be able to delete the locked file.
You have to understand why the file size grows so big.
I just checked my heavily production ECC system and the file sizes are :
stderr1 0kB
stderr3 0kB
stderr4 155 kB
Regards,
Olivier
Our Windows monitoring tools show that at 5pm on Wednesday we had 19GB's free space on our app servers, then suddenly the space was used up. We were not able to read the contents of the stderr1 file because it said the file was corrupt.
We could not see any significant issues at 5pm (+- 30 mins) in the SAP system (SM21 or ST22).
To see exactly what process is locking that file try the Process Explorer from http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
Then you can determine whether it's a background work process etc and take further action. If/when it happens again.
Nelis
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.