What can cause the "Exiting normally" without prompting

韩枫 switchport at hotmail.com
Tue Mar 31 20:42:36 CEST 2009


sorry, it includes the prepaid module that i write. u can not reproduce.

 

test shell

------------------------

#!/bin/bash
i=0
while true
do 
date
time ../radclient -p 16 -q -s -t 3 -r 3 -f auth_test 127.0.0.1:1812 auth xxxxxx

i=`expr $i \+ 1`
echo $i
done

----------------------------

auth_test

User-Name=test1, User-Password=111111, Calling-Station-Id=192.168.10.1 ,NAS-IP-Address=192.168.0.1, NAS-Port=1, Service-Type=Framed, Framed-Protocol=PPP

User-Name=test2, User-Password=111111, Calling-Station-Id=192.168.10.1 ,NAS-IP-Address=192.168.0.1, NAS-Port=2, Service-Type=Framed, Framed-Protocol=PPP

User-Name=test3, User-Password=111111, Calling-Station-Id=192.168.10.1 ,NAS-IP-Address=192.168.0.1, NAS-Port=3, Service-Type=Framed, Framed-Protocol=PPP

User-Name=test4, User-Password=111111, Calling-Station-Id=192.168.10.1 ,NAS-IP-Address=192.168.0.1, NAS-Port=4, Service-Type=Framed, Framed-Protocol=PPP

User-Name=test5, User-Password=111111, Calling-Station-Id=192.168.10.1 ,NAS-IP-Address=192.168.0.1, NAS-Port=5, Service-Type=Framed, Framed-Protocol=PPP

...

---------------------------

 

i am testing, possible the same code have not the problem on Centos 5.2 X86.

CENTOS 5.2 X86_64 have the problem.
 
> Date: Mon, 30 Mar 2009 16:17:02 -0300
> Subject: Re: What can cause the "Exiting normally" without prompting
> From: listas.luafran at gmail.com
> To: freeradius-users at lists.freeradius.org
> 
> 2009/3/29 韩枫 <switchport at hotmail.com>:
> > hi,
> > os is centos 5.2 x64,pgsql is 8.3.7. i have not set the cpu quotas.
> > Even, I do not know how to set up cpu quotas.
> > --------------------------------------------------------------
> > # ulimit -a
> > core file size (blocks, -c) unlimited
> > data seg size (kbytes, -d) unlimited
> > scheduling priority (-e) 0
> > file size (blocks, -f) unlimited
> > pending signals (-i) 139264
> > max locked memory (kbytes, -l) 32
> > max memory size (kbytes, -m) unlimited
> > open files (-n) 8192
> > pipe size (512 bytes, -p) 8
> > POSIX message queues &nb! sp; (bytes, -q) 819200
> > real-time priority (-r) 0
> > stack size (kbytes, -s) 10240
> > cpu time (seconds, -t) unlimited
> > max user processes (-u) 139264
> > virtual memory (kbytes, -v) unlimited
> > file locks (-x) unlimited
> >
> > --------------------------------------------------------------
> > Whether or not the changed module will cause this to happen?
> >
> >> Date: Sat, 28 Mar 2009 08:25:48 -0700
> >> From: aland at deployingradius.com
> >> To: freeradius-users at lists.freeradius.org
> >> Subject: Re: What can cause the "Exiting normally" without prompting
> >>
> >> switchport at hotmail.com wrote:
> >> > i am testing freeradius 2.1.X by radclient , when the number of
> >> > requests arrive 6million+, freeradius will "Exiting normally" without
> >> > prompting.
> >>
> >> The only time it exits is when something tells it to exit. e.g. via
> >> SIGTERM.
> >>
> >> I've never seen it exit like that in any of my performance tests.
> >> Maybe you have CPU quotas for the server?
> >>
> 
> Could you give more details about how to reproduce the situation?
> 
> Thanks
> Luciano
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

_________________________________________________________________
上Windows Live 中国首页,下载最新版 MSN!
http://im.live.cn/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090331/433aa6aa/attachment.html>


More information about the Freeradius-Users mailing list