[phpa] Re: max lenght for a hostname

>
> After installing phpa 1.2.p4 for Linux i have problem with hostnames
> that are longer as 30 chars.
>
> I found the following into the apache main errer.log
>
> pr 19 11:22:49 2002] [warn] /usr/local/apache/conf/phpa.keys: Invalid
> key length (30) for domain ql4pt.content.stage.parkscout.de (line 6)
> (pid 30704) [Fri Apr 19 11:22:49 2002] [warn]
> /usr/local/apache/conf/phpa.keys: Line too long for domain
> ql4pt.content.stage.parkscout.de (line 6) (pid 30704) [Fri Apr 19
> 11:22:49 2002] [warn] /usr/local/apache/conf/phpa.keys: Skipping
> remaining keys (pid 30704)

Yes, sorry about that. The max length of a line in the keys file is
currently 64 characters. I made it deliberately short for testing purposes,
and it didn't get increased again until the release was done. This is fixed
for release 1.3.  If feasible, you could add the key to the httpd.conf file
instead, keeping keys that fit in the keys file.

>
> Some more probs ?
>
> [Fri Apr 19 11:40:04 2002] [warn] shm - Failed to stat the shm -
> Invalid argument (pid 25839)
> [Fri Apr 19 11:40:04 2002] [notice] shm - PHPA 1.2p4 Initialised 8MB
> cache at 0x00477000 with 512 process entries (pid 24786)
> [Fri Apr 19 11:40:23 2002] [warn] Shm unexpectedly removed! (pid 5286)
> [Fri Apr 19 11:40:29 2002] [notice] Releasing destroyed cache (pid
> 24786) [Fri Apr 19 11:40:34 2002] [notice] Releasing destroyed cache
> (pid 23017) [Fri Apr 19 11:40:44 2002] [notice] Releasing destroyed
> cache (pid 23456) [Fri Apr 19 11:40:44 2002] [warn] shm - Failed to
> stat the shm - Invalid argument (pid 23456)

It looks as though something or someone had removed the shared memory. The
flush script does this, and should be avoided being used when the server is
running. Alternatively PHPA may have removed the cache itself after
detecting a problem.  There was also one person some months ago whose
Mandrake linux system appeared to automatically delete every shared memory
segment the moment that it was created. This was totally bizarre, but
running ipcs showed every segment on the system, including those used by
Apache itself, as marked for destruction.

Can you send me the entire gzipped apache log from when you started the
server, and also the output from running ipcs.

nick




------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: