[Bug 1023591] Re: php5 opens /proc/XXX/auxv thousands of times until Apache crashes with too many open files

2013-06-04 Thread alder
I reckon https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1177684 is
related. If so, Clint cannot reproduce it because he isn't using the gd
module.

Cheers,
Alessandro

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1023591

Title:
  php5 opens /proc/XXX/auxv thousands of times until Apache crashes with
  too many open files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1023591/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1023591] Re: php5 opens /proc/XXX/auxv thousands of times until Apache crashes with too many open files

2013-04-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: php5 (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1023591

Title:
  php5 opens /proc/XXX/auxv thousands of times until Apache crashes with
  too many open files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1023591/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1023591] Re: php5 opens /proc/XXX/auxv thousands of times until Apache crashes with too many open files

2012-07-20 Thread Clint Byrum
Thanks Jens, I'll set the status back to New and hopefully take some
time next week to try and reproduce the problem with your configs.

** Changed in: php5 (Ubuntu)
   Status: Incomplete = New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1023591

Title:
  php5 opens /proc/XXX/auxv thousands of times until Apache crashes with
  too many open files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1023591/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1023591] Re: php5 opens /proc/XXX/auxv thousands of times until Apache crashes with too many open files

2012-07-15 Thread Jens
I'm running PHP as a FCGI (FastCGI) module to isolate my user
environments from each other properly.

No specific script causes this behaviour, I have multiple handwritten
PHP scripts as well as Typo3 and Mambo / Joomla / whatever processes
running and they all collect open file descriptors roughly at the same
speed.

Here is an example virtualhost configuration:
 
VirtualHost xx.xxx.xxx.xx:80
  ServerName foobar.name
  ServerAlias *.foobar.name
  ServerAdmin j...@.de
  DocumentRoot /x/webs/jens/name.foobar/
  FcgidIdleTimeout 30
  SuexecUserGroup jens jens
  Directory /x/webs/jens/name.foobar/
FilesMatch \.(php)$
  SetHandler fcgid-script
  FCGIWrapper /x/jens/foobar.name/php-fcgi-starter .php
  Options +ExecCGI
/FilesMatch
Order allow,deny
allow from all
  /Directory
  Alias /awstats /x/webs/jens/awstats/foobar.name
  Alias /awstats-icon /usr/share/awstats/icon/
  ErrorLog /x/logs/jens-foobar.name-error.log
  CustomLog /x/logs/jens-foobar.name-access.log combined
/VirtualHost

Here is the referenced (autogenerated) php-fcgi-starter script:

umask 022
PHPRC='/x/jens/foobar.name/'
export PHPRC
PHP_FCGI_CHILDREN=0
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=250
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php-cgi -c '/x/jens/foobar.name/'

I will read up on FPM, thank you for the info. But I still regard this
as a bug ;)

Cheers
Jens

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1023591

Title:
  php5 opens /proc/XXX/auxv thousands of times until Apache crashes with
  too many open files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1023591/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1023591] Re: php5 opens /proc/XXX/auxv thousands of times until Apache crashes with too many open files

2012-07-14 Thread Clint Byrum
Hi Jens, thanks for taking the time to file a bug report. I'm having
trouble reproducing this issue. When I install apache2 and php5-cgi and
copy a simple php file to /usr/lib/cgi-bin, I don't get any opening of
/proc files at all. This is the list I see when cgi is forked (the
parent process doesn't open any new files on requests):

[pid 30702] open(/usr/local/lib/tls/x86_64/libcrypt.so.1, O_RDONLY|O_CLOEXEC) 
= -1 ENOENT (No such file or directory)
[pid 30702] open(/usr/local/lib/tls/libcrypt.so.1, O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
[pid 30702] open(/usr/local/lib/x86_64/libcrypt.so.1, O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
[pid 30702] open(/usr/local/lib/libcrypt.so.1, O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
[pid 30702] open(/usr/lib/tls/x86_64/libcrypt.so.1, O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
[pid 30702] open(/usr/lib/tls/libcrypt.so.1, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/usr/lib/x86_64/libcrypt.so.1, O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
[pid 30702] open(/usr/lib/libcrypt.so.1, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
[pid 30702] open(/etc/ld.so.cache, O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/lib/x86_64-linux-gnu/libcrypt.so.1, O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/usr/local/lib/libz.so.1, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/usr/lib/libz.so.1, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libz.so.1, O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/usr/local/lib/libresolv.so.2, O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
[pid 30702] open(/usr/lib/libresolv.so.2, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libresolv.so.2, O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/usr/local/lib/libdb-5.1.so, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/usr/lib/libdb-5.1.so, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
[pid 30702] open(/usr/lib/x86_64-linux-gnu/libdb-5.1.so, O_RDONLY|O_CLOEXEC) 
= 3
[pid 30702] open(/usr/local/lib/libbz2.so.1.0, O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
[pid 30702] open(/usr/lib/libbz2.so.1.0, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libbz2.so.1.0, O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/usr/local/lib/libpcre.so.3, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/usr/lib/libpcre.so.3, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libpcre.so.3, O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/usr/local/lib/libm.so.6, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/usr/lib/libm.so.6, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libm.so.6, O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/usr/local/lib/libdl.so.2, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/usr/lib/libdl.so.2, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libdl.so.2, O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/usr/local/lib/libssl.so.1.0.0, O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
[pid 30702] open(/usr/lib/libssl.so.1.0.0, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libssl.so.1.0.0, O_RDONLY|O_CLOEXEC) = 
3
[pid 30702] open(/usr/local/lib/libcrypto.so.1.0.0, O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
[pid 30702] open(/usr/lib/libcrypto.so.1.0.0, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libcrypto.so.1.0.0, 
O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/usr/local/lib/libxml2.so.2, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/usr/lib/libxml2.so.2, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
[pid 30702] open(/usr/lib/x86_64-linux-gnu/libxml2.so.2, O_RDONLY|O_CLOEXEC) 
= 3
[pid 30702] open(/usr/local/lib/libc.so.6, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/usr/lib/libc.so.6, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libc.so.6, O_RDONLY|O_CLOEXEC) = 3
[pid 30702] open(/usr/local/lib/libpthread.so.0, O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
[pid 30702] open(/usr/lib/libpthread.so.0, O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
[pid 30702] open(/lib/x86_64-linux-gnu/libpthread.so.0, O_RDONLY|O_CLOEXEC) = 
3
[pid 30702] open(/dev/urandom, O_RDONLY) = 3
[pid 30702] open(/dev/urandom, O_RDONLY) = 3
[pid 30702] open(/dev/urandom, O_RDONLY) = 3
[pid 30702] open(/dev/urandom, O_RDONLY) = 3
[pid 30702] 

[Bug 1023591] Re: php5 opens /proc/XXX/auxv thousands of times until Apache crashes with too many open files

2012-07-11 Thread Jens
-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1023591

Title:
  php5 opens /proc/XXX/auxv thousands of times until Apache crashes with
  too many open files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1023591/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs