Something on a server I installed an application is creating thousands of empty session files. Is there any way to determine what process is responsible for the creation of each file created?

Thanks.

link|improve this question

1  
What server are you talking about ? – Romain Hippeau Jun 5 '11 at 1:53
A server where I work. I'm not responsible for the server so, I don't know much about it other than it is CentOS and running PHP 5.3. – Noor Jun 5 '11 at 1:54
1  
You need to add specifics if you want a good answer. What server, what os, why do you not expect thousands of empty session files? Edit your original question with more details. – Mark Koopman Jun 5 '11 at 1:55
Session files are being created in /var/www/html/cms/tmp/. This is normal if you are signed into the application but not if you aren't. The number of session files increases nearly every time I run ls -la. This may explain the too many open files error from earlier. I noticed that most of the session files created are empty. Since we are not allowing access to the application to users other than admins right now, I am a bit puzzled why so many sessions exist. – Noor Jun 5 '11 at 1:56
@Noor: and what application is that? So far the question is really low quality. – STATUS_ACCESS_DENIED Jun 5 '11 at 1:57
show 2 more comments
feedback

migrated from stackoverflow.com Jun 5 '11 at 2:37

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 1 down vote accepted

You can use lsof, if any of the files are still in use by the process(es).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.