kill the zombie processes

2005-09-03 Thread Akhthar Parvez K
HI all,

Is there any way to kill the zombie processes in FreeBSD other than 
rebooting the server. Thanks

-- 
Regards,
Akhthar Parvez K
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


resource deadlock avoided??

2005-08-12 Thread Akhthar Parvez. K
Hi all,

I am gettting the following error message while accessing the interchange 
admin panel. 

(perl), uid 1004: exited on signal 11 (core dumped)

I have no problem in accessing the main page. Does anyone know what could be 
the problem? I had a look at sysctl directives, but did not notice anything 
particular.

I would also like to tune my FreeBSD server. The server has 2 cpus and RAID5. 
There are around 1000 accounts in it. Can anyone suggest the ideal values for 
the sysctl variables.

-- 
With Regards,

Akhthar Parvez.K
SA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps -awux

2005-07-22 Thread Akhthar Parvez. K
Hi,

Thanks Glenn. I have made the changes. FreeBSD mailing list rocks!

Sorry to ask, but it would be great if anyone can tell me what would the 
solution for the same problem in a redhat LINUX machine. I hope all of you 
would take it in such a spirit that providing support for another opensource 
OS which's also a flavor of UNIX.

On Friday 22 July 2005 11:14, Glenn Dawson wrote:
 At 10:39 PM 7/21/2005, Akhthar Parvez. K wrote:
 Hi,
 
 Thanks to Frank. I have changed the value of kern.ps_showallprocs to 1 and
 its
 listing all processes now. I used the following command
 
 sysctl kern.ps_showallprocs=1
 
 Will the value change back to zero once the server is rebooted. If yes, is
 there any way to make the changes permanently. I added the following line
 into /boot/loader.conf, but that didn't help.
 kern.ps_showallprocs=1
 
 Any help is much appreciated.

 Add kern.ps_showallprocs=1 to /etc/sysctl.conf

 -Glenn

 On Wednesday 20 July 2005 23:06, Frank de Bot wrote:
   Akhthar Parvez. K wrote:
Hello,
   
When I run the command ps -awux from a user's bash shell(not root),
it's listing the processes under the particular user only. Can anyone
tell me why?
  
   Under FreeBSD 4.x the sysctl is:
  
   kern.ps_showallprocs
  
   0: only show processes of the user itself
   1: Show all processes
  
  
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
 --
 With Regards,
 
 Akhthar Parvez.K
 System Administrator
 Carmatec IT Solutions Pvt Ltd.
 1st Block, Koramangala,
 Bangalore
 -
 NOTHING IS IMPOSSIBLE
 Because Impossible itself says
 I'M POSSIBLE
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
  [EMAIL PROTECTED]

-- 
With Regards,

Akhthar
-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps -awux

2005-07-21 Thread Akhthar Parvez. K
Hi,

Thanks to Frank. I have changed the value of kern.ps_showallprocs to 1 and its 
listing all processes now. I used the following command 

sysctl kern.ps_showallprocs=1

Will the value change back to zero once the server is rebooted. If yes, is 
there any way to make the changes permanently. I added the following line 
into /boot/loader.conf, but that didn't help.
kern.ps_showallprocs=1

Any help is much appreciated.

On Wednesday 20 July 2005 23:06, Frank de Bot wrote:
 Akhthar Parvez. K wrote:
  Hello,
 
  When I run the command ps -awux from a user's bash shell(not root), it's
  listing the processes under the particular user only. Can anyone tell me
  why?

 Under FreeBSD 4.x the sysctl is:

 kern.ps_showallprocs

 0: only show processes of the user itself
 1: Show all processes


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala,
Bangalore
-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ps -awux

2005-07-20 Thread Akhthar Parvez. K
Hello,

When I run the command ps -awux from a user's bash shell(not root), it's 
listing the processes under the particular user only. Can anyone tell me why?

-- 
With Regards,

Akhthar 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps -awux

2005-07-20 Thread Akhthar Parvez. K
Hello,

It does not show all processes even if I did not use -u option. It would be 
good if anyone can tell me how can I view all processes from a user's bash 
shell.

On Wednesday 20 July 2005 18:38, jdyke wrote:
 Akhthar Parvez. K wrote:
  Hello,
 
  When I run the command ps -awux from a user's bash shell(not root), it's
  listing the processes under the particular user only. Can anyone tell me
  why?

 -u matches user

 man ps

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala,
Bangalore
-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps -awux

2005-07-20 Thread Akhthar Parvez. K
Hi,

sysctl security.bsd.see_other_uids
sysctl: unknown oid 'security.bsd.see_other_uids'

:-(
On Wednesday 20 July 2005 18:46, Norbert Koch wrote:
  When I run the command ps -awux from a user's bash shell(not root), it's
  listing the processes under the particular user only. Can anyone
  tell me why?

 see 'sysctl security.bsd.see_other_uids'

 Norbert

-- 
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala,
Bangalore
-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


seems there is some problem with load

2005-02-04 Thread Akhthar Parvez. K
Hi All,

I have recompiled kernel to include SMP. Thereafter, I can see the load is 
greater than or equals 5 at any time.

I can see that system is taking above 50% of server resources in this server.

CPU states:  5.8% user,  2.1% nice, 51.7% system,  4.8% interrupt, 35.5% idle
Mem: 1716M Active, 1056M Inact, 354M Wired, 121M Cache, 199M Buf, 240M Free
Swap: 2048M Total, 1068K Used, 2047M Free

I have never seen that system uses above 50%, in my other server, it's near 
2%. Any idea??

-- 
With Regards,

Akhthar Parvez.K
System Administrator

-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is Mysql accessible through Jailshell??

2004-12-16 Thread Akhthar Parvez. K
Hi all,

I am not able to access mysql from jailshell. Is it allowed or a bug?
I got mysql error 61( Connection refused) when I tried the same.

Comments are welcomed.

-- 
With Regards,

Akhthar Parvez.K

-
I was brilliant when I was born,
Education spoiled it!!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Memory problems:-(

2004-12-08 Thread Akhthar Parvez. K
Hi All,

I am facing a lot of memory issues with all services in the server.
Following log will tell you what is the exact problem.

dmesg
 18575 (exim-4.43-0), uid 26: exited on signal 11
pid 18595 (exim-4.43-0), uid 26: exited on signal 11
pid 18512 (httpd), uid 65534: exited on signal 11
pid 18531 (httpd), uid 65534: exited on signal 10
pid 18518 (httpd), uid 65534: exited on signal 10
pid 18516 (httpd), uid 65534: exited on signal 11
pid 18524 (httpd), uid 65534: exited on signal 11
pid 18511 (httpd), uid 65534: exited on signal 4
pid 18496 (httpd), uid 65534: exited on signal 11
pid 18494 (httpd), uid 65534: exited on signal 11
pid 18519 (httpd), uid 65534: exited on signal 10
pid 18532 (httpd), uid 65534: exited on signal 11
pid 18521 (httpd), uid 65534: exited on signal 10
pid 18510 (httpd), uid 65534: exited on signal 10
pid 18614 (httpd), uid 65534: exited on signal 11
pid 18527 (httpd), uid 65534: exited on signal 10
pid 18722 (exim-4.43-0), uid 26: exited on signal 11
pid 18806 (exim-4.43-0), uid 26: exited on signal 11
pid 18728 (exim-4.43-0), uid 26: exited on signal 11
pid 18964 (exim-4.43-0), uid 26: exited on signal 11
pid 18998 (exim-4.43-0), uid 26: exited on signal 11
pid 19004 (exim-4.43-0), uid 26: exited on signal 11
pid 19008 (exim-4.43-0), uid 26: exited on signal 11
pid 19061 (exim-4.43-0), uid 26: exited on signal 11
pid 19067 (exim-4.43-0), uid 26: exited on signal 11
pid 19073 (exim-4.43-0), uid 26: exited on signal 11
pid 18874 (exim-4.43-0), uid 26: exited on signal 11
pid 19100 (exim-4.43-0), uid 26: exited on signal 11
pid 19106 (exim-4.43-0), uid 26: exited on signal 11
pid 19115 (exim-4.43-0), uid 26: exited on signal 11
pid 19122 (exim-4.43-0), uid 26: exited on signal 11
pid 19149 (exim-4.43-0), uid 26: exited on signal 11
pid 18617 (httpd), uid 65534: exited on signal 11
pid 19161 (exim-4.43-0), uid 26: exited on signal 11
pid 19165 (exim-4.43-0), uid 26: exited on signal 11
pid 19175 (exim-4.43-0), uid 26: exited on signal 11
pid 18505 (httpd), uid 65534: exited on signal 11
pid 18691 (httpd), uid 65534: exited on signal 11
pid 19224 (exim-4.43-0), uid 26: exited on signal 11
pid 19145 (exim-4.43-0), uid 26: exited on signal 11
pid 19275 (exim-4.43-0), uid 26: exited on signal 11
pid 19302 (exim-4.43-0), uid 26: exited on signal 11
pid 19307 (exim-4.43-0), uid 26: exited on signal 11
pid 19309 (exim-4.43-0), uid 26: exited on signal 11
pid 19316 (exim-4.43-0), uid 26: exited on signal 11
pid 19220 (exim-4.43-0), uid 26: exited on signal 11
pid 19348 (exim-4.43-0), uid 26: exited on signal 11
pid 19376 (exim-4.43-0), uid 26: exited on signal 11
pid 19380 (exim-4.43-0), uid 26: exited on signal 11
pid 19388 (exim-4.43-0), uid 26: exited on signal 11
pid 19435 (exim-4.43-0), uid 26: exited on signal 11
pid 19323 (exim-4.43-0), uid 26: exited on signal 11
pid 19482 (exim-4.43-0), uid 26: exited on signal 11
pid 19496 (exim-4.43-0), uid 26: exited on signal 11
pid 19510 (exim-4.43-0), uid 26: exited on signal 11
pid 19600 (exim-4.43-0), uid 26: exited on signal 11

Anyone has any idea what might caused the issue. Following is the details abt 
memory.

 vmstat
 procs  memory  pagedisks faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr da0 md0   in   sy  cs us sy id
 9 0 0 2653476 201136 3014   4   2   0 2926  37   0   0  785 67046 5994 25 30 
45

top
141 processes: 4 running, 137 sleeping
CPU states: 14.2% user,  0.0% nice, 85.6% system,  0.2% interrupt,  0.0% idle
Mem: 842M Active, 2078M Inact, 375M Wired, 156M Cache, 199M Buf, 36M Free
Swap: 2048M Total, 32K Used, 2048M Free

Any help will be greatly appreciated.
-- 
With Regards,

Akhthar Parvez.K

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error message

2004-11-29 Thread Akhthar Parvez. K
Hi All,

I am getting the following error message in /var/log/messages

tail -f /var/log/messages
Nov 29 07:24:31 speedy /kernel: pid 83876 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:31 speedy /kernel: pid 84126 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:31 speedy /kernel: pid 84208 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:33 speedy /kernel: pid 83867 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:34 speedy /kernel: pid 84207 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:35 speedy /kernel: pid 84138 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:36 speedy /kernel: pid 84064 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:37 speedy /kernel: pid 84141 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:38 speedy /kernel: pid 84255 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:39 speedy /kernel: pid 84233 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:42 speedy /kernel: pid 84258 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:43 speedy /kernel: pid 84165 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:43 speedy /kernel: pid 84200 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:45 speedy /kernel: pid 84174 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:45 speedy /kernel: pid 84199 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:49 speedy /kernel: pid 83871 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:50 speedy /kernel: pid 84164 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:52 speedy /kernel: pid 84102 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:52 speedy /kernel: pid 84167 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:52 speedy /kernel: pid 84212 (httpd), uid 65534: exited on signal 4
Nov 29 07:24:53 speedy /kernel: pid 84168 (httpd), uid 65534: exited on signal 4


Anyhave has any idea why it's coming? I am not getting any error messsages in 
apache error logs.

-- 
With Regards,

Akhthar Parvez.K

-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mysql Error 1135

2004-11-27 Thread Akhthar Parvez. K
Hi All,

I am getting following error message while accessing mysql.

ERROR 1135: Can't create a new thread (errno 35). If you are not out of 
available memory, you can consult the manual for a possible OS-dependent bug

What could be the problem? I know that the problem is due to resources are
temporarily unavaliable. But how can I fix this issue so that it won't come 
back.


-- 
With Regards,

Akhthar Parvez.K

-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mbuf error

2004-11-24 Thread Akhthar Parvez. K
Hi All,

Mysql service is going down continously in my system due to lack of memory 
space.

I checked the messages log and found the following error message.

All mbuf clusters exhausted, please see tuning(7).

I have no idea about mbuf cluster. Can anyone please help me to fix the issue.

I hope the information below will help you.

Following is the output of top.

last pid: 84718;  load averages:  2.56,  2.29,  2.55

up 2+03:59:04  13:27:58
195 processes: 2 running, 193 sleeping
CPU states: 26.2% user,  0.0% nice, 10.0% system,  5.0% interrupt, 58.8% idle
Mem: 1912M Active, 995M Inact, 421M Wired, 132M Cache, 199M Buf, 27M Free
Swap: 2048M Total, 34M Used, 2014M Free, 1% Inuse

Following is the output of netstat -m

3797/14672/26624 mbufs in use (current/peak/max):
3791 mbufs allocated to data
2 mbufs allocated to fragment reassembly queue headers
4 mbufs allocated to socket names and addresses
3704/6656/6656 mbuf clusters in use (current/peak/max)
16980 Kbytes allocated to network (85% of mb_map in use)
106522 requests for memory denied
1545 requests for memory delayed
0 calls to protocol drain routines

Please let me know if you need more info regarding this.
Thank you in advance. 
-- 
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala.

-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]