[Bugs] #2471 UNSP: No way to set RLIMIT_NPROC for apache
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Oct 22 16:09:22 EDT 2010
#2471: No way to set RLIMIT_NPROC for apache
------------------------------------------+---------------------------------
Reporter: alsroot | Owner: sascha_silbe
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: infrastructure | Version: Unspecified
Severity: Unspecified | Keywords:
Status_field: Unconfirmed | Distribution: Unspecified
Seeta_dev: |
------------------------------------------+---------------------------------
At some point, sunjammer apache started failing to start with errors like:
{{{
[Fri Oct 22 15:44:26 2010] [notice] [mod_asn] compiled with APR/APR-Util
1.2.12/1.2.12
[Fri Oct 22 15:44:26 2010] [warn] RSA server certificate CommonName (CN)
`www.sugarlabs.org' does NOT match server name!?
[Fri Oct 22 15:44:26 2010] [warn] Init: Name-based SSL virtual hosts only
work for clients with TLS server name indication support (RFC 4366)
[Fri Oct 22 15:44:26 2010] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache2/suexec)
[Fri Oct 22 15:44:26 2010] [notice] [mod_asn] compiled with APR/APR-Util
1.2.12/1.2.12
[Fri Oct 22 15:44:26 2010] [notice] mod_python: Creating 8 session mutexes
based on 256 max processes and 0 max threads.
[Fri Oct 22 15:44:26 2010] [notice] mod_python: using mutex_directory /tmp
[Fri Oct 22 15:44:26 2010] [warn] RSA server certificate CommonName (CN)
`www.sugarlabs.org' does NOT match server name!?
[Fri Oct 22 15:44:26 2010] [warn] Init: Name-based SSL virtual hosts only
work for clients with TLS server name indication support (RFC 4366)
[Fri Oct 22 15:44:26 2010] [warn] mod_wsgi: Compiled for Python/2.6.1+.
[Fri Oct 22 15:44:26 2010] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Fri Oct 22 15:44:26 2010] [warn] mod_wsgi: Python module path
'/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6
/lib-tk:/usr/lib/python2.>
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30583): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30581): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30586): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30582): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30646): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30656): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30657): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30658): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30712): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30727): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30729): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30728): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30746): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30803): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30801): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
mod_wsgi (pid=30850): Unable to change to uid=33.
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 33
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 33
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 33
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 33
[Fri Oct 22 15:44:26 2010] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 33
[Fri Oct 22 15:44:27 2010] [notice] Apache/2.2.14 (Ubuntu) mod_asn/1.5
mod_mirrorbrain/2.13.4 Phusion_Passenger/2.2.7 PHP/5.2.6-3ubuntu4.6 with
Suhosin-Patch >
[Fri Oct 22 15:44:27 2010] [alert] Child 30852 returned a Fatal error...
Apache is exiting!
}}}
but started work after:
{{{
# ulimit -u 700
# apache2ctl restart
}}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2471>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list