Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Strange issue with threads

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


jbozza at mindsites

Jun 19, 2009, 3:29 PM

Post #1 of 11 (364 views)
Permalink
Strange issue with threads

Another day, another issue. In testing my new FreeBSD port, I've had to start and restart the server several times. I noticed that the server was taking a long time to stop. It didn't matter if it was a hard restart or a graceful restart.

After turning on tracing, I found that pthread_join() was taking several seconds to stop some of the threads.

My question - Has anyone else noticed slowness (in the order of over 5-10 seconds and more!) when restarting Cherokee? During this time, all IO is blocked, so nothing can be served, which is a bit of a problem. While restarting rarely happens, it makes it difficult for making quick changes.

I'm trying to figure out if it's just something with FreeBSD or if it's happening with other OS's as well, so input from anyone is welcome.

Jaime


pablosaro at gmail

Jun 19, 2009, 4:38 PM

Post #2 of 11 (347 views)
Permalink
Re: Strange issue with threads [In reply to]

I'm using Cherokee in slackware, compiling it my way. I've tested it
with no considerable load and I've never experienced such problem.
If you can send me your port in private I'll look if this happens to
me (I have a FreeBSD box).
Cheers

Pablo



On 6/19/09, Jaime Bozza <jbozza[at]mindsites.com> wrote:
> Another day, another issue. In testing my new FreeBSD port, I've had to
> start and restart the server several times. I noticed that the server was
> taking a long time to stop. It didn't matter if it was a hard restart or a
> graceful restart.
>
> After turning on tracing, I found that pthread_join() was taking several
> seconds to stop some of the threads.
>
> My question - Has anyone else noticed slowness (in the order of over 5-10
> seconds and more!) when restarting Cherokee? During this time, all IO is
> blocked, so nothing can be served, which is a bit of a problem. While
> restarting rarely happens, it makes it difficult for making quick changes.
>
> I'm trying to figure out if it's just something with FreeBSD or if it's
> happening with other OS's as well, so input from anyone is welcome.
>
> Jaime
>
>
>

--
Sent from Gmail for mobile | mobile.google.com
_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


alvaro at alobbs

Jun 20, 2009, 6:05 AM

Post #3 of 11 (346 views)
Permalink
Re: Strange issue with threads [In reply to]

On 20-jun-09, at 00:29, Jaime Bozza wrote:

> Another day, another issue. In testing my new FreeBSD port, I’ve
> had to start and restart the server several times. I noticed that
> the server was taking a long time to stop. It didn’t matter if it
> was a hard restart or a graceful restart.
>
> After turning on tracing, I found that pthread_join() was taking
> several seconds to stop some of the threads.
>
> My question – Has anyone else noticed slowness (in the order of over
> 5-10 seconds and more!) when restarting Cherokee? During this
> time, all IO is blocked, so nothing can be served, which is a bit of
> a problem. While restarting rarely happens, it makes it difficult
> for making quick changes.
>
> I’m trying to figure out if it’s just something with FreeBSD or if
> it’s happening with other OS’s as well, so input from anyone is
> welcome.

I haven't noticed such behavior in any modern version.

Which version are you running?

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


superman.jason at gmail

Jun 20, 2009, 10:55 AM

Post #4 of 11 (345 views)
Permalink
Re: Strange issue with threads [In reply to]

Jaime Bozza <jbozza <at> mindsites.com> writes:

> My question – Has anyone else noticed slowness (in the
> order of over 5-10 seconds and more!) when restarting Cherokee?   During this
> time, all IO is blocked, so nothing can be served, which is a bit of a
> problem.   While restarting rarely happens, it makes it difficult for making
> quick changes.

I'll post my observations here as well.

In reading your post about issue with threads I watched my server restart more
closely. I guess it does actually take a little bit of time to kill the process.
It looks like this for example:

Stopping cherokee.
Waiting for PIDS: 38173, 38173, 38173, 38173, 38173.

It's always the list of 5 PIDS. I've always assumed it just waiting for the
5 php-cgi child processes to die. So I tried a restart immediately after the
server was restarted, and before any php-cgi processes were started, and it's
actually the same thing, the 5 repeated PIDS before it's done. Without looking
at a watch I counted about 6 or 7 seconds before it was complete. Startup on the
other hand is next to instantaneous.

This is also on FreeBSD. FreeBSD 7.2-RELEASE-p1.

I also have cherokee 0.99.17 (from the "sid" repository) running on my Debian
5.01 (Mostly Lenny, some mixed packages) server at home. I watched the restart
on it, and it is definitely faster. Maybe 2-3 seconds before the process stops
and then the same near instantaneous startup.

Hope that is useful information.

Jason

_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


pablosaro at gmail

Jun 20, 2009, 5:53 PM

Post #5 of 11 (345 views)
Permalink
Re: Strange issue with threads [In reply to]

Hi Jaime,

I hope you're doing fine.
I just tested cherokee on FreeBSD 7.2-STABLE running on a i386 box. I
installed your port just out of the box and configured a virtual host with
PHP as FastCGI, everything by default (in fact, I've used the wizard). Good
news: after opening several http sessions requesting php files, I performed
a hard restart and it tooks 2 seconds. Then I tried a graceful restart and
it tooks a couple additional seconds because of the gracefulness.
I'm also running cherokee on Linux, so I compared both. To be honest, there
is no visible difference.
Well, I hope it helps. Let me know if I can help you further.
Cheers

Pablo

On Fri, Jun 19, 2009 at 9:31 PM, Pablo Hernan Saro <pablosaro[at]gmail.com>wrote:

> Hi Jaime,
>
> Thanks for sharing your port. I'll look into it over the weekend. My box is
> for testing purposes and runs 7.2-STABLE x86. I'll let you know as soon as
> test it.
> Cheers
>
> Pablo
>
>
> On Fri, Jun 19, 2009 at 9:01 PM, Jaime Bozza <jbozza[at]mindsites.com> wrote:
>
>> Pablo,
>>
>> Attached is the port. I'm using 7.2-STABLE Amd64. I'm starting Cherokee
>> just with the default config, but I'm keeping it in the foreground so I can
>> see what's happening. Using Cherokee-Admin and doing a graceful restart
>> causing the Cherokee process to immediately show that it received the
>> graceful restart, but for several seconds it sits there before bringing up
>> the information banner (showing that the process restarted) again.
>>
>> Load while Cherokee is running doesn't seem to be an issue - Just the
>> restart.
>>
>> Thanks for your help!
>>
>> Jaime
>>
>>
>> > -----Original Message-----
>> > From: Pablo Hernan Saro [mailto:pablosaro[at]gmail.com]
>> > Sent: Friday, June 19, 2009 6:39 PM
>> > To: Jaime Bozza; cherokee[at]lists.alobbs.com
>> > Subject: Re: [Cherokee] Strange issue with threads
>> >
>> > I'm using Cherokee in slackware, compiling it my way. I've tested it
>> > with no considerable load and I've never experienced such problem.
>> > If you can send me your port in private I'll look if this happens to
>> > me (I have a FreeBSD box).
>> > Cheers
>> >
>> > Pablo
>> >
>> >
>> >
>> > On 6/19/09, Jaime Bozza <jbozza[at]mindsites.com> wrote:
>> > > Another day, another issue. In testing my new FreeBSD port, I've had
>> > to
>> > > start and restart the server several times. I noticed that the
>> > server was
>> > > taking a long time to stop. It didn't matter if it was a hard
>> > restart or a
>> > > graceful restart.
>> > >
>> > > After turning on tracing, I found that pthread_join() was taking
>> > several
>> > > seconds to stop some of the threads.
>> > >
>> > > My question - Has anyone else noticed slowness (in the order of over
>> > 5-10
>> > > seconds and more!) when restarting Cherokee? During this time, all
>> > IO is
>> > > blocked, so nothing can be served, which is a bit of a problem.
>> > While
>> > > restarting rarely happens, it makes it difficult for making quick
>> > changes.
>> > >
>> > > I'm trying to figure out if it's just something with FreeBSD or if
>> > it's
>> > > happening with other OS's as well, so input from anyone is welcome.
>> > >
>> > > Jaime
>> > >
>> > >
>> > >
>> >
>> > --
>> > Sent from Gmail for mobile | mobile.google.com
>>
>
>


alvaro at alobbs

Jun 21, 2009, 11:27 AM

Post #6 of 11 (342 views)
Permalink
Re: Strange issue with threads [In reply to]

On 20-jun-09, at 19:55, Jason wrote:

> It's always the list of 5 PIDS. I've always assumed it just waiting
> for the
> 5 php-cgi child processes to die. So I tried a restart immediately
> after the
> server was restarted, and before any php-cgi processes were started,
> and it's
> actually the same thing, the 5 repeated PIDS before it's done.
> Without looking
> at a watch I counted about 6 or 7 seconds before it was complete.
> Startup on the
> other hand is next to instantaneous.
>
> This is also on FreeBSD. FreeBSD 7.2-RELEASE-p1.
>
> I also have cherokee 0.99.17 (from the "sid" repository) running on
> my Debian
> 5.01 (Mostly Lenny, some mixed packages) server at home. I watched
> the restart
> on it, and it is definitely faster. Maybe 2-3 seconds before the
> process stops
> and then the same near instantaneous startup.


I've tested it on Linux and MacOS X. In both cases it restarted in a
fairly acceptable time.

Anyway, it sounds like something worth checking (at least on FreeBSD).
Could you please log a bug for it so we ensure it's in the to-do list?

http://bugs.cherokee-project.com/

Thanks!

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


superman.jason at gmail

Jun 21, 2009, 3:07 PM

Post #7 of 11 (343 views)
Permalink
Re: Strange issue with threads [In reply to]

Alvaro Lopez Ortega <alvaro <at> alobbs.com> writes:

> Anyway, it sounds like something worth checking (at least on FreeBSD).
> Could you please log a bug for it so we ensure it's in the to-do list?
>
> http://bugs.cherokee-project.com/
>
> Thanks!

Done! ID #500!

Thanks,
Jason

_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


jbozza at mindsites

Jun 22, 2009, 6:42 AM

Post #8 of 11 (339 views)
Permalink
Re: Strange issue with threads [In reply to]

> > My question - Has anyone else noticed slowness (in the order of over
> > 5-10 seconds and more!) when restarting Cherokee? During this
> > time, all IO is blocked, so nothing can be served, which is a bit of
> > a problem. While restarting rarely happens, it makes it difficult
> > for making quick changes.
> >
> > I'm trying to figure out if it's just something with FreeBSD or if
> > it's happening with other OS's as well, so input from anyone is
> > welcome.
>
> I haven't noticed such behavior in any modern version.
>
> Which version are you running?

0.99.17 - Just updated to 0.99.18 to see if the results are the same. System is a newly built Quad Core (Intel) with FreeBSD 7.2-STABLE 64-bit.

Similar results on 7.2-STABLE 32-bit, though not as long.

I see that Jason has already published a bug, so I'll post my trace results there.

Jaime

_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


jbozza at mindsites

Jun 22, 2009, 7:10 AM

Post #9 of 11 (339 views)
Permalink
Re: Strange issue with threads [In reply to]

Pablo,

Can you try the following?


1) Install Cherokee using the default cherokee.conf file. This just serves up the default cherokee page.

2) Start the server using the FreeBSD RC script

3) Wait a minute, restart the server using /usr/local/etc/rc.d/cherokee restart

4) Observe the number of times the system is "Waiting for PIDS"

Typically, it shouldn't have to wait hardly at all.

It's possible that adding PHP to the mix may "fix" the issue, which I'll test in a little bit, but I've just been testing core functionality first.

Jaime


From: Pablo Hernan Saro [mailto:pablosaro[at]gmail.com]
Sent: Saturday, June 20, 2009 7:53 PM
To: cherokee[at]lists.alobbs.com
Subject: Re: [Cherokee] Strange issue with threads

Hi Jaime,

I hope you're doing fine.
I just tested cherokee on FreeBSD 7.2-STABLE running on a i386 box. I installed your port just out of the box and configured a virtual host with PHP as FastCGI, everything by default (in fact, I've used the wizard). Good news: after opening several http sessions requesting php files, I performed a hard restart and it tooks 2 seconds. Then I tried a graceful restart and it tooks a couple additional seconds because of the gracefulness.
I'm also running cherokee on Linux, so I compared both. To be honest, there is no visible difference.
Well, I hope it helps. Let me know if I can help you further.
Cheers

Pablo
On Fri, Jun 19, 2009 at 9:31 PM, Pablo Hernan Saro <pablosaro[at]gmail.com<mailto:pablosaro[at]gmail.com>> wrote:
Hi Jaime,

Thanks for sharing your port. I'll look into it over the weekend. My box is for testing purposes and runs 7.2-STABLE x86. I'll let you know as soon as test it.
Cheers

Pablo

On Fri, Jun 19, 2009 at 9:01 PM, Jaime Bozza <jbozza[at]mindsites.com<mailto:jbozza[at]mindsites.com>> wrote:
Pablo,

Attached is the port. I'm using 7.2-STABLE Amd64. I'm starting Cherokee just with the default config, but I'm keeping it in the foreground so I can see what's happening. Using Cherokee-Admin and doing a graceful restart causing the Cherokee process to immediately show that it received the graceful restart, but for several seconds it sits there before bringing up the information banner (showing that the process restarted) again.

Load while Cherokee is running doesn't seem to be an issue - Just the restart.

Thanks for your help!

Jaime


> -----Original Message-----
> From: Pablo Hernan Saro [mailto:pablosaro[at]gmail.com<mailto:pablosaro[at]gmail.com>]
> Sent: Friday, June 19, 2009 6:39 PM
> To: Jaime Bozza; cherokee[at]lists.alobbs.com<mailto:cherokee[at]lists.alobbs.com>
> Subject: Re: [Cherokee] Strange issue with threads
>
> I'm using Cherokee in slackware, compiling it my way. I've tested it
> with no considerable load and I've never experienced such problem.
> If you can send me your port in private I'll look if this happens to
> me (I have a FreeBSD box).
> Cheers
>
> Pablo
>
>
>
> On 6/19/09, Jaime Bozza <jbozza[at]mindsites.com<mailto:jbozza[at]mindsites.com>> wrote:
> > Another day, another issue. In testing my new FreeBSD port, I've had
> to
> > start and restart the server several times. I noticed that the
> server was
> > taking a long time to stop. It didn't matter if it was a hard
> restart or a
> > graceful restart.
> >
> > After turning on tracing, I found that pthread_join() was taking
> several
> > seconds to stop some of the threads.
> >
> > My question - Has anyone else noticed slowness (in the order of over
> 5-10
> > seconds and more!) when restarting Cherokee? During this time, all
> IO is
> > blocked, so nothing can be served, which is a bit of a problem.
> While
> > restarting rarely happens, it makes it difficult for making quick
> changes.
> >
> > I'm trying to figure out if it's just something with FreeBSD or if
> it's
> > happening with other OS's as well, so input from anyone is welcome.
> >
> > Jaime
> >
> >
> >
>
> --
> Sent from Gmail for mobile | mobile.google.com<http://mobile.google.com>


pablosaro at gmail

Jun 22, 2009, 2:02 PM

Post #10 of 11 (339 views)
Permalink
Re: Strange issue with threads [In reply to]

Hello Jaime,

I followed your instructions carefully and got the same result. I got only
one time the message "Waiting for PIDS" and the restart took just a couple
of seconds.
I don't see any problem on this...
Hope it helps. Don't hesitate to contact me for further testing.

Pablo

On Mon, Jun 22, 2009 at 11:10 AM, Jaime Bozza <jbozza[at]mindsites.com> wrote:

> Pablo,
>
>
>
> Can you try the following?
>
>
>
> 1) Install Cherokee using the default cherokee.conf file. This just
> serves up the default cherokee page.
>
> 2) Start the server using the FreeBSD RC script
>
> 3) Wait a minute, restart the server using
> /usr/local/etc/rc.d/cherokee restart
>
> 4) Observe the number of times the system is “Waiting for PIDS”
>
>
>
> Typically, it shouldn’t have to wait hardly at all.
>
>
>
> It’s possible that adding PHP to the mix may “fix” the issue, which I’ll
> test in a little bit, but I’ve just been testing core functionality first.
>
>
>
> Jaime
>
>
>
>
>
> *From:* Pablo Hernan Saro [mailto:pablosaro[at]gmail.com]
> *Sent:* Saturday, June 20, 2009 7:53 PM
> *To:* cherokee[at]lists.alobbs.com
>
> *Subject:* Re: [Cherokee] Strange issue with threads
>
>
>
> Hi Jaime,
>
> I hope you're doing fine.
> I just tested cherokee on FreeBSD 7.2-STABLE running on a i386 box. I
> installed your port just out of the box and configured a virtual host with
> PHP as FastCGI, everything by default (in fact, I've used the wizard). Good
> news: after opening several http sessions requesting php files, I performed
> a hard restart and it tooks 2 seconds. Then I tried a graceful restart and
> it tooks a couple additional seconds because of the gracefulness.
> I'm also running cherokee on Linux, so I compared both. To be honest, there
> is no visible difference.
> Well, I hope it helps. Let me know if I can help you further.
> Cheers
>
> Pablo
>
> On Fri, Jun 19, 2009 at 9:31 PM, Pablo Hernan Saro <pablosaro[at]gmail.com>
> wrote:
>
> Hi Jaime,
>
> Thanks for sharing your port. I'll look into it over the weekend. My box is
> for testing purposes and runs 7.2-STABLE x86. I'll let you know as soon as
> test it.
> Cheers
>
> Pablo
>
>
>
> On Fri, Jun 19, 2009 at 9:01 PM, Jaime Bozza <jbozza[at]mindsites.com> wrote:
>
> Pablo,
>
> Attached is the port. I'm using 7.2-STABLE Amd64. I'm starting Cherokee
> just with the default config, but I'm keeping it in the foreground so I can
> see what's happening. Using Cherokee-Admin and doing a graceful restart
> causing the Cherokee process to immediately show that it received the
> graceful restart, but for several seconds it sits there before bringing up
> the information banner (showing that the process restarted) again.
>
> Load while Cherokee is running doesn't seem to be an issue - Just the
> restart.
>
> Thanks for your help!
>
> Jaime
>
>
>
> > -----Original Message-----
> > From: Pablo Hernan Saro [mailto:pablosaro[at]gmail.com]
> > Sent: Friday, June 19, 2009 6:39 PM
> > To: Jaime Bozza; cherokee[at]lists.alobbs.com
> > Subject: Re: [Cherokee] Strange issue with threads
> >
> > I'm using Cherokee in slackware, compiling it my way. I've tested it
> > with no considerable load and I've never experienced such problem.
> > If you can send me your port in private I'll look if this happens to
> > me (I have a FreeBSD box).
> > Cheers
> >
> > Pablo
> >
> >
> >
> > On 6/19/09, Jaime Bozza <jbozza[at]mindsites.com> wrote:
> > > Another day, another issue. In testing my new FreeBSD port, I've had
> > to
> > > start and restart the server several times. I noticed that the
> > server was
> > > taking a long time to stop. It didn't matter if it was a hard
> > restart or a
> > > graceful restart.
> > >
> > > After turning on tracing, I found that pthread_join() was taking
> > several
> > > seconds to stop some of the threads.
> > >
> > > My question - Has anyone else noticed slowness (in the order of over
> > 5-10
> > > seconds and more!) when restarting Cherokee? During this time, all
> > IO is
> > > blocked, so nothing can be served, which is a bit of a problem.
> > While
> > > restarting rarely happens, it makes it difficult for making quick
> > changes.
> > >
> > > I'm trying to figure out if it's just something with FreeBSD or if
> > it's
> > > happening with other OS's as well, so input from anyone is welcome.
> > >
> > > Jaime
> > >
> > >
> > >
> >
> > --
> > Sent from Gmail for mobile | mobile.google.com
>
>
>
>
>


jbozza at mindsites

Jun 22, 2009, 3:10 PM

Post #11 of 11 (335 views)
Permalink
Re: Strange issue with threads [In reply to]

Pablo,

One last question - Are you operating under an SMP kernel or is it just a single core processor?

Jaime


From: Pablo Hernan Saro [mailto:pablosaro[at]gmail.com]
Sent: Monday, June 22, 2009 4:02 PM
To: Jaime Bozza
Cc: cherokee[at]lists.alobbs.com
Subject: Re: [Cherokee] Strange issue with threads

Hello Jaime,

I followed your instructions carefully and got the same result. I got only one time the message "Waiting for PIDS" and the restart took just a couple of seconds.
I don't see any problem on this...
Hope it helps. Don't hesitate to contact me for further testing.

Pablo
On Mon, Jun 22, 2009 at 11:10 AM, Jaime Bozza <jbozza[at]mindsites.com<mailto:jbozza[at]mindsites.com>> wrote:

Pablo,



Can you try the following?



1) Install Cherokee using the default cherokee.conf file. This just serves up the default cherokee page.

2) Start the server using the FreeBSD RC script

3) Wait a minute, restart the server using /usr/local/etc/rc.d/cherokee restart

4) Observe the number of times the system is "Waiting for PIDS"



Typically, it shouldn't have to wait hardly at all.



It's possible that adding PHP to the mix may "fix" the issue, which I'll test in a little bit, but I've just been testing core functionality first.



Jaime





From: Pablo Hernan Saro [mailto:pablosaro[at]gmail.com<mailto:pablosaro[at]gmail.com>]
Sent: Saturday, June 20, 2009 7:53 PM
To: cherokee[at]lists.alobbs.com<mailto:cherokee[at]lists.alobbs.com>

Subject: Re: [Cherokee] Strange issue with threads



Hi Jaime,

I hope you're doing fine.
I just tested cherokee on FreeBSD 7.2-STABLE running on a i386 box. I installed your port just out of the box and configured a virtual host with PHP as FastCGI, everything by default (in fact, I've used the wizard). Good news: after opening several http sessions requesting php files, I performed a hard restart and it tooks 2 seconds. Then I tried a graceful restart and it tooks a couple additional seconds because of the gracefulness.
I'm also running cherokee on Linux, so I compared both. To be honest, there is no visible difference.
Well, I hope it helps. Let me know if I can help you further.
Cheers

Pablo

On Fri, Jun 19, 2009 at 9:31 PM, Pablo Hernan Saro <pablosaro[at]gmail.com<mailto:pablosaro[at]gmail.com>> wrote:

Hi Jaime,

Thanks for sharing your port. I'll look into it over the weekend. My box is for testing purposes and runs 7.2-STABLE x86. I'll let you know as soon as test it.
Cheers

Pablo



On Fri, Jun 19, 2009 at 9:01 PM, Jaime Bozza <jbozza[at]mindsites.com<mailto:jbozza[at]mindsites.com>> wrote:

Pablo,

Attached is the port. I'm using 7.2-STABLE Amd64. I'm starting Cherokee just with the default config, but I'm keeping it in the foreground so I can see what's happening. Using Cherokee-Admin and doing a graceful restart causing the Cherokee process to immediately show that it received the graceful restart, but for several seconds it sits there before bringing up the information banner (showing that the process restarted) again.

Load while Cherokee is running doesn't seem to be an issue - Just the restart.

Thanks for your help!

Jaime


> -----Original Message-----
> From: Pablo Hernan Saro [mailto:pablosaro[at]gmail.com<mailto:pablosaro[at]gmail.com>]
> Sent: Friday, June 19, 2009 6:39 PM
> To: Jaime Bozza; cherokee[at]lists.alobbs.com<mailto:cherokee[at]lists.alobbs.com>
> Subject: Re: [Cherokee] Strange issue with threads
>
> I'm using Cherokee in slackware, compiling it my way. I've tested it
> with no considerable load and I've never experienced such problem.
> If you can send me your port in private I'll look if this happens to
> me (I have a FreeBSD box).
> Cheers
>
> Pablo
>
>
>
> On 6/19/09, Jaime Bozza <jbozza[at]mindsites.com<mailto:jbozza[at]mindsites.com>> wrote:
> > Another day, another issue. In testing my new FreeBSD port, I've had
> to
> > start and restart the server several times. I noticed that the
> server was
> > taking a long time to stop. It didn't matter if it was a hard
> restart or a
> > graceful restart.
> >
> > After turning on tracing, I found that pthread_join() was taking
> several
> > seconds to stop some of the threads.
> >
> > My question - Has anyone else noticed slowness (in the order of over
> 5-10
> > seconds and more!) when restarting Cherokee? During this time, all
> IO is
> > blocked, so nothing can be served, which is a bit of a problem.
> While
> > restarting rarely happens, it makes it difficult for making quick
> changes.
> >
> > I'm trying to figure out if it's just something with FreeBSD or if
> it's
> > happening with other OS's as well, so input from anyone is welcome.
> >
> > Jaime
> >
> >
> >
>
> --
> Sent from Gmail for mobile | mobile.google.com<http://mobile.google.com>

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.