Jose Parrella wrote:

> About the SSL problem, I'm not familiar with the usage of strace.
> However, strace cherokee& seems to tell me that cherokee is stalling
> here:
>
> select(9, [8], NULL, NULL, {3, 0})      = 0 (Timeout)
>
> I get around 7 or 8 of these, then:
>
> select(9, [8], NULL, NULL, {3, 0}) = 1 (in [8], left {2, 346000})
> read(8, "\273Z\34\243\331\300\351\336", 276) = 8
>
> When I start another processes, the latter messages appear faster (and
> other messages appear as well), then the server finally starts. Of
> course, if I let it running for enough time it will start eventually, I
> think. My kernel is 2.6.15-1-686, Debian package. The CPU is a Pentium
> III Coppermine. I'm able to send a complete strace log.

  If you check where the file descriptor 8 was opened, you will see
  that it comes from something like an open("/dev/urandom", ..).

  So, I think that confirms it. The SSL library is just trying to get
  a few random numbers, but it gets stuck because of some weird kernel
  behaviour.

  This seems to be a Linux specific issue, on OpenSolaris it starts
  in a reasonable time (< 1sec).

-- 
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to