Check to see if you have any zombie Apache processes, possibly labelled as something else if display-name was used with WSGIDaemonProcess. If you do, see if it is the zombie processes which are referencing them.
Graham On 19 April 2012 04:54, Florian La Roche <[email protected]> wrote: > On RHEL6.2 with mod_wsgi 3.2 or with current hg checkins for 3.4, I see that > sub-processes still have a fd open for a deleted lockfile. Is this intended > behaviour > or some left-over fd? > > This can be seen with "lsof +L1": > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NLINK NODE NAME > httpd 4041 root 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4043 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4044 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4045 apache 13wW REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4046 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4047 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4053 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4141 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4465 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4466 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4467 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4468 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4469 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4470 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4475 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > httpd 4476 apache 13w REG 252,1 0 0 788369 > /var/run/moin-wsgi.4041.0.1.lock (deleted) > > Or with cd /proc && ls -l */fd/ | grep deleted > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > l-wx------. 1 root root 64 Apr 18 20:50 13 -> > /var/run/moin-wsgi.4041.0.1.lock (deleted) > > best regards, > > Florian La Roche > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/modwsgi/-/FnT4CZc1lTMJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
