why it stop backend

1 view
Skip to first unread message

Daniel Niu

unread,
Aug 28, 2008, 1:51:10 AM8/28/08
to perlbal
Hi guys,
I've intalled perlbal on my web server.
and I loggin in through ssh way and start it like this "/usr/bin/
perlbal &", in it ,"&" is added to run backend,
but it stopped running after a couple of hours,

it's weird ,it's keep running in my another server , all setup and
configuration is all the same.

thx for any tip

Steve Rubinstein

unread,
Aug 28, 2008, 1:59:43 AM8/28/08
to per...@googlegroups.com
Someone will probably ask what version you were running on what OS, etc.  

Not that there’s enough info to really be sure, but I wonder if you ran across the same bug we ran into recently?  We found a case where a request with a negative content length caused perlbal to hang.  We haven’t posted a patch yet since we haven’t gotten the patch to make it through the test cases yet.  Once we have some time, we’ll sort it out and post it – unless someone deciphers what I’m talking about and fixes it before we post it.

Daniel Niu

unread,
Aug 28, 2008, 2:17:06 AM8/28/08
to perlbal
ya.. I should show all the details about this problem.

my os is CentOS-5.2-x86_64

the version of perbal is the latest from svn.

I think my issue is not same with yours , for it just stoppd running
without any request.

On Aug 28, 1:59 pm, Steve Rubinstein <st...@topix.net> wrote:
> Someone will probably ask what version you were running on what OS, etc.
>
> Not that there¹s enough info to really be sure, but I wonder if you ran
> across the same bug we ran into recently?  We found a case where a request
> with a negative content length caused perlbal to hang.  We haven¹t posted a
> patch yet since we haven¹t gotten the patch to make it through the test
> cases yet.  Once we have some time, we¹ll sort it out and post it ­ unless
> someone deciphers what I¹m talking about and fixes it before we post it.
>
> On 8/27/08 10:51 PM, "Daniel Niu" <leni...@gmail.com> wrote:
>
>
>
>
>
> > Hi guys,
> > I've intalled perlbal on my web server.
> > and I loggin in through ssh way and start it like this "/usr/bin/
> > perlbal &", in it ,"&" is added to run backend,
> > but it stopped running after a couple of hours,
>
> > it's weird ,it's keep running in my another server , all setup and
> > configuration is all the same.
>
> > thx for any tip- Hide quoted text -
>
> - Show quoted text -

Brett Hoerner

unread,
Aug 28, 2008, 7:24:15 AM8/28/08
to per...@googlegroups.com
On Thu, Aug 28, 2008 at 12:51 AM, Daniel Niu <len...@gmail.com> wrote:
> and I loggin in through ssh way and start it like this "/usr/bin/
> perlbal &", in it ,"&" is added to run backend,
> but it stopped running after a couple of hours,

Do you disconnect from SSH, or does your connection timeout after a
few hours? Using & isn't a proper way to start a daemon. All it does
is put the process in the background, but it's still a child of your
current shell. Meaning if you log out, or lose connection, the
process will be killed along with your shell (unless you're using
something like 'screen').

You should really remove the '&' and use "/usr/bin/perlbal --daemon".

Brett

Reply all
Reply to author
Forward
0 new messages