You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Newgro <pe...@gmx.ch> on 2009/04/21 10:23:52 UTC
[users@httpd] [emerg] (28)No space left on device: Couldn't create accept lock
(/var/lock/apache2/accept.lock.19652) (5)
Hi *,
i try to solve the issue that apache2 fails starting. It all startet with
this message in error.log
[crit] (28)No space left on device: mod_jk: could not create jk_log_lock
Configuration Failed
So i decided to disable mod_jk. After that python complained the same way.
Python disabled to and now the headline message arrives.
i tried ipcs -su
------ Semaphore Status --------
used arrays = 128
allocated semaphores = 576
i tried df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 5044064 1095860 3691976 23% /
Can someone please help me out here?
Thanks
Per
--
View this message in context: http://www.nabble.com/-emerg--%2828%29No-space-left-on-device%3A-Couldn%27t-create-accept-lock-%28-var-lock-apache2-accept.lock.19652%29-%285%29-tp23151307p23151307.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [emerg] (28)No space left on device: Couldn't
create accept lock (/var/lock/apache2/accept.lock.19652) (5)
Posted by Eric Covener <co...@gmail.com>.
On Tue, Apr 21, 2009 at 4:23 AM, Newgro <pe...@gmx.ch> wrote:
>
> Hi *,
>
> i try to solve the issue that apache2 fails starting. It all startet with
> this message in error.log
> [crit] (28)No space left on device: mod_jk: could not create jk_log_lock
> Configuration Failed
>
> So i decided to disable mod_jk. After that python complained the same way.
> Python disabled to and now the headline message arrives.
>
> i tried ipcs -su
>
compare what's used with ipcs -l (limits).
And make sue both are run as root.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [emerg] (28)No space left on device: Couldn't
create accept lock (/var/lock/apache2/accept.lock.19652) (5)
Posted by Newgro <pe...@gmx.ch>.
Thanks so much. The provider increased the limits systemwide to 512. Now
apache is running again.
Cheers
Per
--
View this message in context: http://www.nabble.com/-emerg--%2828%29No-space-left-on-device%3A-Couldn%27t-create-accept-lock-%28-var-lock-apache2-accept.lock.19652%29-%285%29-tp23151307p23170116.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [emerg] (28)No space left on device: Couldn't
create accept lock (/var/lock/apache2/accept.lock.19652) (5)
Posted by Newgro <pe...@gmx.ch>.
I tried vi /etc/sysctl.conf
kernel.sem = 250 32000 100 256
But output of ipcs -l is still
m18s24:~$ ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 16
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
So it seems that i can't change the value. I only use a vserver of my isp.
Is that a cause?
Cheers
Per
--
View this message in context: http://www.nabble.com/-emerg--%2828%29No-space-left-on-device%3A-Couldn%27t-create-accept-lock-%28-var-lock-apache2-accept.lock.19652%29-%285%29-tp23151307p23161738.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [emerg] (28)No space left on device: Couldn't
create accept lock (/var/lock/apache2/accept.lock.19652) (5)
Posted by Eric Covener <co...@gmail.com>.
On Tue, Apr 21, 2009 at 1:37 PM, Newgro <pe...@gmx.ch> wrote:
> m18s24:/etc/apache2$ ipcs -l
> ------ Semaphore Limits --------
> max number of arrays = 128
> m18s24:/etc/apache2$ ipcs -lu
> ------ Semaphore Status --------
> used arrays = 128
Tried increasing the limits?
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [emerg] (28)No space left on device: Couldn't
create accept lock (/var/lock/apache2/accept.lock.19652) (5)
Posted by Newgro <pe...@gmx.ch>.
Much output is coming :-)
m18s24:/etc/apache2$ /etc/init.d/apache2 start
Starting web server: apache2 failed!
m18s24:/etc/apache2$ tail /var/log/apache2/error.log
[Tue Apr 21 15:50:00 2009] [emerg] (28)No space left on device: Couldn't
create accept lock (/var/lock/apache2/accept.lock.19320) (5)
[Tue Apr 21 15:50:53 2009] [crit] (28)No space left on device: mod_jk: could
not create jk_log_lock
Configuration Failed
[Tue Apr 21 17:23:17 2009] [crit] (28)No space left on device: mod_jk: could
not create jk_log_lock
Configuration Failed
m18s24:/etc/apache2$ whoami
root
m18s24:/etc/apache2$ ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 16
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
m18s24:/etc/apache2$ ipcs -lu
------ Shared Memory Status --------
segments allocated 18
pages allocated 56915
pages resident 7223
pages swapped 4844
Swap performance: 0 attempts 0 successes
------ Semaphore Status --------
used arrays = 128
allocated semaphores = 576
------ Messages: Status --------
allocated queues = 0
used headers = 0
used space = 0 bytes
m18s24:/etc/apache2$ su www-data
m18s24:/etc/apache2$ touch /var/lock/test.txt
m18s24:/etc/apache2$ ls /var/lock/
apache2 aptitude test.txt
m18s24:/etc/apache2$ ls - /var/lock/
ls: cannot access -: No such file or directory
/var/lock/:
apache2 aptitude test.txt
m18s24:/etc/apache2$ ls -l /var/lock/
total 4
drwxr-xr-x 2 www-data root 4096 Apr 21 15:50 apache2
-rw-r----- 1 root root 0 Apr 21 13:02 aptitude
-rw-r--r-- 1 www-data www-data 0 Apr 21 17:26 test.txt
m18s24:/etc/apache2$ df /var
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 5044064 618684 4169152 13% /
m18s24:/etc/apache2$ ls -l /var/lock/apache2/
total 0
m18s24:/etc/apache2$
It seems not to be a permission issue. The main problem is that i requested
a new setup by my
server provider today after the trouble was unsolvable to me. And now i have
exactly the same
situation. Maybe i have a version conflict.
Thanks alot for helping me
Per
--
View this message in context: http://www.nabble.com/-emerg--%2828%29No-space-left-on-device%3A-Couldn%27t-create-accept-lock-%28-var-lock-apache2-accept.lock.19652%29-%285%29-tp23151307p23160962.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [emerg] (28)No space left on device: Couldn't
create accept lock (/var/lock/apache2/accept.lock.19652) (5)
Posted by John Armstrong <ja...@bepress.com>.
Can you touch a file in /var/lock rather then /tmp?
Can you do a df on /var or do you only one filesystem (/)?
What does ls -l /var and ls -l /var/lock and ls -l /var/lock/apache2 show?
J
On Tue, Apr 21, 2009 at 3:55 AM, Newgro <pe...@gmx.ch> wrote:
>
> touch as www-data is working. I tried it in tmp folder.
> I use debian lenny on a virtual server. I think they use ext3 for rootfs.
>
> Thanks
> Per
> --
> View this message in context: http://www.nabble.com/-emerg--%2828%29No-space-left-on-device%3A-Couldn%27t-create-accept-lock-%28-var-lock-apache2-accept.lock.19652%29-%285%29-tp23151307p23153582.html
> Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
John Armstrong
Vice President, Engineering
The Berkeley Electronic Press
510/665-1200 x160
http://www.bepress.com/
bepress: 10 years of accelerating and enhancing the flow of scholarly ideas
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [emerg] (28)No space left on device: Couldn't
create accept lock (/var/lock/apache2/accept.lock.19652) (5)
Posted by Newgro <pe...@gmx.ch>.
touch as www-data is working. I tried it in tmp folder.
I use debian lenny on a virtual server. I think they use ext3 for rootfs.
Thanks
Per
--
View this message in context: http://www.nabble.com/-emerg--%2828%29No-space-left-on-device%3A-Couldn%27t-create-accept-lock-%28-var-lock-apache2-accept.lock.19652%29-%285%29-tp23151307p23153582.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [emerg] (28)No space left on device: Couldn't
create accept lock (/var/lock/apache2/accept.lock.19652) (5)
Posted by Krist van Besien <kr...@gmail.com>.
On Tue, Apr 21, 2009 at 10:23 AM, Newgro <pe...@gmx.ch> wrote:
> Can someone please help me out here?
Try (as the user that apaceh runs under) to create a file, for example
with "touch". if this results in a similar error something is really
wrong with your filesystem. What OS are you running?
Krist
--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org