Re: [Vserver] Strange problem with starting apache

2007-02-11 Thread mail
 thanks for your reply where could I check these things?

I found all information who i needed and wrote down how i found a
solution. Unfortunately only in German but all who are interested in the
solution:
http://www.cryptronic.de/wiki/Blogs/20070211_vserver_und_semaphores

Thanks anyway for all those who helped me find out the problem.

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Strange problem with starting apache

2007-02-05 Thread mail
 You have to check current shared memory and semaphores usage and limits.

 Jarek Dylag
 ___

thanks for your reply where could I check these things?

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Strange problem with starting apache

2007-01-31 Thread Jarek Dylag

Hi,

[...]

some strace output:
semget(IPC_PRIVATE, 1, IPC_CREAT|0600)  = -1 ENOSPC (No space left on
device)
Do you need the full output?

I habe this error before but after a reboot it was gone.

Are there any solutions to prevent this error's?


it probably means that your system have run out of semaphore arrays.
Some apache2 modules use semaphores (2 arrays per apache in my
configuration, more If you are using modules like: mod_perl,
mod_python. mod_rewrite).

You have to check current shared memory and semaphores usage and limits.

Jarek Dylag
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Strange problem with starting apache

2007-01-30 Thread Herbert Poetzl
On Tue, Jan 30, 2007 at 06:36:29AM +0100, Cryptronic wrote:
 Hi Matt,
 thanks for your fast reply.
 According to mtab fstab and mount i'm sure that i have one partition 

mtab, fstab and mount are all three big liars! :)
don't trust them!

always check with /proc/mounts or stat ...

by default /tmp will be a 16MB tempfs, and you
might hit that limit (note, that can be adjusted)
it might as well be that you hit a lock limit
(double check with your configuration and of 
course /proc/vierual/xid/limits)

best,
Herbert

 inside the
 guest.
 regards
 Oliver
 
 Matt Anger (manger) schrieb:
  
 Are you sure /var is stored on hdv1? I know some distros (like the
 variant of RHEL I use) use a separate partition for the var directory
 that can sometimes get filled up with old log information and whatnot
 (this would also explain why sometimes a restart would help if progs
 cleaned up their old information).
 
 -Matt
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Cryptronic
 Sent: Monday, January 29, 2007 1:18 PM
 To: vserver@list.linux-vserver.org
 Subject: [Vserver] Strange problem with starting apache
 
 Hi all,
 
 i have running several guests on one host on all apache starts and works
 
 fine.
 Now i wanted to add another guest (#15).
 I set rss.hard (256000) and rss.soft (128000).
 vServer start up fine but when i want to start apache i get the 
 following error:
 [Mon Jan 29 22:04:17 2007] [emerg] (28)No space left on device: Couldn't
 
 create accept lock (/var/lock/apache2/accept.lock.10486) (5)
 
 but:
 df:  /dev/hdv1 147G  313M  139G   1% /
 
 also none of the set limits got hidden:
 Limitcurrent min/maxsoft/hard
 hits
 PROC:  8   0/  13 -1/  
 -10
 VM:38185   0/   755891024000/ 
 10240000
 VML:   0   0/   0 -1/  
 -10
 RSS:2388   0/4336 128000/  
 2560000
 ANON:   2796   0/3029 -1/  
 -10
 FILES:   248   0/ 268 -1/  
 -10
 OFD: 149   0/ 165 -1/  
 -10
 LOCKS: 2   0/   2 -1/  
 -10
 SOCK: 88   0/  88 -1/  
 -10
 MSGQ:  0   0/   0 -1/  
 -10
 SHM:   0   0/   0 -1/  
 -10
 SEMA:  0   0/   0 -1/  
 -10
 SEMS:  0   0/   0 -1/  
 -10
 DENT:191   0/ 232 -1/  
 -10
 
 I'm running:
 Kernel: 2.6.18.3-vs2.1.1.2-vserver-amd64-squash-drbd-256ip-ipv6
 util-vserver: 0.30.211
 distibution: debian etch
 
 the guest running debian etch also
 
 some strace output:
 semget(IPC_PRIVATE, 1, IPC_CREAT|0600)  = -1 ENOSPC (No space left on 
 device)
 Do you need the full output?
 
 I habe this error before but after a reboot it was gone.
 
 Are there any solutions to prevent this error's?
 
 best regards
 
 Oliver Werner
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
   
 
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Strange problem with starting apache

2007-01-29 Thread Cryptronic

Hi all,

i have running several guests on one host on all apache starts and works 
fine.

Now i wanted to add another guest (#15).
I set rss.hard (256000) and rss.soft (128000).
vServer start up fine but when i want to start apache i get the 
following error:
[Mon Jan 29 22:04:17 2007] [emerg] (28)No space left on device: Couldn't 
create accept lock (/var/lock/apache2/accept.lock.10486) (5)


but:
df:  /dev/hdv1 147G  313M  139G   1% /

also none of the set limits got hidden:
Limitcurrent min/maxsoft/hard   hits
PROC:  8   0/  13 -1/  
-10
VM:38185   0/   755891024000/ 
10240000
VML:   0   0/   0 -1/  
-10
RSS:2388   0/4336 128000/  
2560000
ANON:   2796   0/3029 -1/  
-10
FILES:   248   0/ 268 -1/  
-10
OFD: 149   0/ 165 -1/  
-10
LOCKS: 2   0/   2 -1/  
-10
SOCK: 88   0/  88 -1/  
-10
MSGQ:  0   0/   0 -1/  
-10
SHM:   0   0/   0 -1/  
-10
SEMA:  0   0/   0 -1/  
-10
SEMS:  0   0/   0 -1/  
-10
DENT:191   0/ 232 -1/  
-10


I'm running:
Kernel: 2.6.18.3-vs2.1.1.2-vserver-amd64-squash-drbd-256ip-ipv6
util-vserver: 0.30.211
distibution: debian etch

the guest running debian etch also

some strace output:
semget(IPC_PRIVATE, 1, IPC_CREAT|0600)  = -1 ENOSPC (No space left on 
device)

Do you need the full output?

I habe this error before but after a reboot it was gone.

Are there any solutions to prevent this error's?

best regards

Oliver Werner
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] Strange problem with starting apache

2007-01-29 Thread Matt Anger (manger)
 
Are you sure /var is stored on hdv1? I know some distros (like the
variant of RHEL I use) use a separate partition for the var directory
that can sometimes get filled up with old log information and whatnot
(this would also explain why sometimes a restart would help if progs
cleaned up their old information).

-Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cryptronic
Sent: Monday, January 29, 2007 1:18 PM
To: vserver@list.linux-vserver.org
Subject: [Vserver] Strange problem with starting apache

Hi all,

i have running several guests on one host on all apache starts and works

fine.
Now i wanted to add another guest (#15).
I set rss.hard (256000) and rss.soft (128000).
vServer start up fine but when i want to start apache i get the 
following error:
[Mon Jan 29 22:04:17 2007] [emerg] (28)No space left on device: Couldn't

create accept lock (/var/lock/apache2/accept.lock.10486) (5)

but:
df:  /dev/hdv1 147G  313M  139G   1% /

also none of the set limits got hidden:
Limitcurrent min/maxsoft/hard
hits
PROC:  8   0/  13 -1/  
-10
VM:38185   0/   755891024000/ 
10240000
VML:   0   0/   0 -1/  
-10
RSS:2388   0/4336 128000/  
2560000
ANON:   2796   0/3029 -1/  
-10
FILES:   248   0/ 268 -1/  
-10
OFD: 149   0/ 165 -1/  
-10
LOCKS: 2   0/   2 -1/  
-10
SOCK: 88   0/  88 -1/  
-10
MSGQ:  0   0/   0 -1/  
-10
SHM:   0   0/   0 -1/  
-10
SEMA:  0   0/   0 -1/  
-10
SEMS:  0   0/   0 -1/  
-10
DENT:191   0/ 232 -1/  
-10

I'm running:
Kernel: 2.6.18.3-vs2.1.1.2-vserver-amd64-squash-drbd-256ip-ipv6
util-vserver: 0.30.211
distibution: debian etch

the guest running debian etch also

some strace output:
semget(IPC_PRIVATE, 1, IPC_CREAT|0600)  = -1 ENOSPC (No space left on 
device)
Do you need the full output?

I habe this error before but after a reboot it was gone.

Are there any solutions to prevent this error's?

best regards

Oliver Werner
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Strange problem with starting apache

2007-01-29 Thread Cryptronic

Hi Matt,
thanks for your fast reply.
According to mtab fstab and mount i'm sure that i have one partition 
inside the

guest.
regards
Oliver

Matt Anger (manger) schrieb:
 
Are you sure /var is stored on hdv1? I know some distros (like the

variant of RHEL I use) use a separate partition for the var directory
that can sometimes get filled up with old log information and whatnot
(this would also explain why sometimes a restart would help if progs
cleaned up their old information).

-Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cryptronic
Sent: Monday, January 29, 2007 1:18 PM
To: vserver@list.linux-vserver.org
Subject: [Vserver] Strange problem with starting apache

Hi all,

i have running several guests on one host on all apache starts and works

fine.
Now i wanted to add another guest (#15).
I set rss.hard (256000) and rss.soft (128000).
vServer start up fine but when i want to start apache i get the 
following error:

[Mon Jan 29 22:04:17 2007] [emerg] (28)No space left on device: Couldn't

create accept lock (/var/lock/apache2/accept.lock.10486) (5)

but:
df:  /dev/hdv1 147G  313M  139G   1% /

also none of the set limits got hidden:
Limitcurrent min/maxsoft/hard
hits
PROC:  8   0/  13 -1/  
-10
VM:38185   0/   755891024000/ 
10240000
VML:   0   0/   0 -1/  
-10
RSS:2388   0/4336 128000/  
2560000
ANON:   2796   0/3029 -1/  
-10
FILES:   248   0/ 268 -1/  
-10
OFD: 149   0/ 165 -1/  
-10
LOCKS: 2   0/   2 -1/  
-10
SOCK: 88   0/  88 -1/  
-10
MSGQ:  0   0/   0 -1/  
-10
SHM:   0   0/   0 -1/  
-10
SEMA:  0   0/   0 -1/  
-10
SEMS:  0   0/   0 -1/  
-10
DENT:191   0/ 232 -1/  
-10


I'm running:
Kernel: 2.6.18.3-vs2.1.1.2-vserver-amd64-squash-drbd-256ip-ipv6
util-vserver: 0.30.211
distibution: debian etch

the guest running debian etch also

some strace output:
semget(IPC_PRIVATE, 1, IPC_CREAT|0600)  = -1 ENOSPC (No space left on 
device)

Do you need the full output?

I habe this error before but after a reboot it was gone.

Are there any solutions to prevent this error's?

best regards

Oliver Werner
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
  


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver