[Vserver] Semaphores

2007-04-15 Thread Cryptronic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

is there a possibility to see all semaphores vserver's are using?

Because it is very difficult to enter each vserver and run ipcs. To
see how much semaphores are in use would it do for me.

I would be very pleased if someone could help me.


best regards

Oliver Werner
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (GNU/Linux)

iD8DBQFGIpCgOBdlVlcPuhwRAlUqAJkBHRaSfXSwgiRMyNRh47aX3JWj5ACfQRJX
720YroOi9CKZ6RdhG6bhesw=
=00ra
-END PGP SIGNATURE-

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


[Vserver] Apache Problem at Sunday morning

2007-03-18 Thread Cryptronic
[Sun Mar 18 06:26:43 2007] [warn] child process 30762 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 30763 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 30764 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 30765 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 30767 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 367 still did not exit, 
sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 21930 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30762 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30763 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30764 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30765 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30767 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 367 still did not exit, 
sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 21930 still did not 
exit, sending a SIGTERM

[Sun Mar 18 06:26:47 2007] [notice] caught SIGTERM, shutting down

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


[Vserver] Apache Problem at Sunday morning

2007-03-18 Thread Cryptronic

HI all,

sry for double posting.

In have a strange problem with apache2 : Each sunday morning between 5 
a.m. and 7 a.m. some apache's in different vservers shutdown and do not 
come back.


I'm running debian etch on the vservers and debian sid on the hosts. The 
silliest thing is that each Sunday these were different vservers. I only 
get the following message in apache's error log:


[Sun Mar 18 06:26:43 2007] [warn] child process 30762 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 30763 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 30764 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 30765 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 30767 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 367 still did not exit, 
sending a SIGTERM
[Sun Mar 18 06:26:43 2007] [warn] child process 21930 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30762 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30763 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30764 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30765 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 30767 still did not 
exit, sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 367 still did not exit, 
sending a SIGTERM
[Sun Mar 18 06:26:45 2007] [warn] child process 21930 still did not 
exit, sending a SIGTERM

[Sun Mar 18 06:26:47 2007] [notice] caught SIGTERM, shutting down

Limit's weren't hit.

I would be thankful for each hint.

Best regards

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


Re: [Vserver] Apache Problem at Sunday morning

2007-03-18 Thread Cryptronic

Hi all,

thanks you two, I think this is a very possible thing ;)

I patched all the logrotate files. Thanks for the hints.

best regards

Oliver

Tom Laermans schrieb:

On Sun, Mar 18, 2007 at 12:43:40PM +, Cryptronic wrote:
  

HI all,

sry for double posting.

In have a strange problem with apache2 : Each sunday morning between 5 
a.m. and 7 a.m. some apache's in different vservers shutdown and do not 
come back.


[Sun Mar 18 06:26:43 2007] [warn] child process 30762 still did not 
exit, sending a SIGTERM



I have the same on multiple Debian Sarge machines, running apache1.3 and
apache2.0, not running any vserver patches. I'd say vserver unrelated.

I bet each sunday morning between 5 and 7 your logrotation kicks in, and
apache doesn't reload cleanly -- Debian unsolved bug for years; quickfix is
a killall -9 apache2 then apache2ctl start in the logrotation script.

A bug was filed on apache on the BTS (not by me) but I can't find it back.

Tom
___
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] Ethernet interfaces vanished

2007-03-05 Thread Cryptronic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I have problems with the virtual nics.
Sometimes a interface in a vserver suddenly vanished and ifconfig in
the vserver doesn't show anything.
My interface setup contains in interfaces/0/
bcast
dev
ip
mask

also ip addr list list some of the ip's of the vservers as global and
global secondary scopes:
inet xxx/24 brd xxx scope global eth0
inet xxx/24 brd xxx scope global secondary eth0
inet xxx/24 brd xxx scope global secondary eth0
inet xxx/24 brd xxx scope global secondary eth0

xxx where real ip addresses.

I'm running vserver-utils 212 and the following kernel:
2.6.18.5-vs2.1.1.3-amd64-squash-drbd-256ip-ipv6

Maybe this problem is known?

On 2.6.20.1-vs2.2.0-amd64-squash-drbd-256ip the same things happens.

best regards

Oliver
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF7QWXOBdlVlcPuhwRAqeqAKCP5gUa0mE6hdQ4MOSxmUKiKEcHHQCgwGny
U1Z0rlzy2FXsWz7WyduvSWc=
=03V0
-END PGP SIGNATURE-

___
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 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


Re: [Vserver] Enlarge /tmp partition

2006-12-13 Thread Cryptronic

Alejandro Cabrera Obed schrieb:

Dear all, sorry for my new question today...I have a mail server
Postfix/Debian Etch over a vserver and I've installed clamav antivirus.
But when a run tha clamav-daemon I get this error:

LibClamAV Error: wrote 0 instead of 512
(/tmp/clamav-67ea3a8be7a9faa9/main.ndb)
cli_untgz: no space left on device
LibClamAV error: cli_cvload (): can't unpack CVD file
LibClamAV error: Can't load /var/lib
clamav main.cvd: CVD extraction failure
ERROR: CVD extarction failure

At first I suppose is a /tmp size problem, so I want to know the way to
enlarge the /tmp partition from my vserver.

In my /etc/vservers/virtual1/fstab I have this line related to /tmp:

none   /tmp tmpfs   size=16m, mode 1777 0   0


Is it enough to change the size here or what ???

Thanks again

Alejandro

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

Hello Alejandro,

yes this will do it.

regards

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


Re: [Vserver] IPTABLES inside vserver guests (experimental version)

2006-11-23 Thread Cryptronic
Hi Andre,

as you might know, there is a Webinterface to managed vserver called openvcp 
(http://www.openvcp.org).
Because, I am a developer of the Webinterface I want to ask you whether we 
could work together to implement this in our Webinterface?

best regards
Oliver Werner aka cryptronic

Am Donnerstag, 23. November 2006 20:53 schrieb Andre Bruce:
 Hello,

 We are developing a client/server (host/guest) application which makes
 it possible for a guest to run a virtual iptables (the guest
 application should replace the offical iptables binary).
 This project is still at experimental stage and may not work as
 expected, so use it at your own risk.

 You are welcome to post your problems and sugestions so we can fix the
 code and get it 100%. :)

 The files and instructions can be downloaded at:
 http://www.virtuaserver.com.br/forum/viewtopic.php?p=215

 If you want to contact me directly (not through this list), please use
 the forum or the e-mail abruce @__at__@ virtuaserver.com.br.

-- 
Mit freundlichen Grüßen

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