Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45926 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12772 invoked from network); 1 Nov 2009 18:32:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Nov 2009 18:32:58 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.222.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.222.172 mail-pz0-f172.google.com Received: from [209.85.222.172] ([209.85.222.172:41333] helo=mail-pz0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4C/96-11001-954DDEA4 for ; Sun, 01 Nov 2009 13:32:57 -0500 Received: by pzk2 with SMTP id 2so2814285pzk.26 for ; Sun, 01 Nov 2009 10:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=kpSzBCsmRDFnKF0dezGVXmVQb8LpVR9TVvvPEkZN1XM=; b=vbobS5rPhaqbcIku6at0FjG+CRGr6ZwUpzeOIeqBCWESqlAtr6N/Up02KQPlr1CytI QYwkgsDuUHnEv7ttByDuWX2UfLF8yF8JoaktlxoQ7Hd11b/FBxndqzdDgxUUNm2iXAbv ktVdH501GAPZPV5MwBHEDQHroskyuBcnnY/Rk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NGuXeRkBnHPurRTgzVjNZXW85mzU363Zni4v8OwsQT+kuHsULcHCeuUBNeRI1Fe+7Y nGKAAr7X2OSwTEelWKIl7nTj5zV9TFRjwKyczLy21LyHDwbB1xo4eOlKBDT2h3NjnOJb xFz17BAxhOTOUIa17YXANfFKOeDAk8VI08zkU= MIME-Version: 1.0 Received: by 10.114.162.4 with SMTP id k4mr5990908wae.149.1257100326450; Sun, 01 Nov 2009 10:32:06 -0800 (PST) In-Reply-To: References: Date: Sun, 1 Nov 2009 18:32:06 +0000 Message-ID: <7f3ed2c30911011032u3c6e0772w1f543eeca854f505@mail.gmail.com> To: Chris Jiang Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] PHP socket automatically shuts down after ? hours of idling? From: hannes.magnusson@gmail.com (Hannes Magnusson) 2009/10/28 Chris Jiang : > Hi all, here is another question that made me confused. I'm not sure if > it's a bug or what, but I can't find an answer from the search engines. > > I've made a chat server using php socket features, and it works pretty > well as I've expected. However, there is a weird thing happening: The > server shuts down automatically after about 3 hours of idling (no > connections). Without any notices/warnings/errors? Do you have a shortish reproduce case? -Hannes