Beanstalkd will keep a connection open indefinitely. However, the server
operating system, client operating system, or client process (or even some
part of the network between client and server) might be configured to close
idle connections after some amount of time.
On Tue, Mar 31, 2015 at 11:08 Jianbin Ma <[email protected]> wrote:
> I have a crontab task, and it will run three hours. after run 1 hour it
> will put a job into beanstalk with client pheanstalk.
> after 2 hours it will put the second job into beanstalk with the same
> connection. However ,it will occur these error infomation below:
> NOTICE 2015-03-29 13:01:21 0.0.0.0 /opt/packages/pheanstalk/classes/
> Pheanstalk/Socket/StreamFunctions.php[line:81] <CODE_ERROR> fwrite():
> send of 176 bytes failed with errno=104 Connection reset by peer {[CLI]
> COOKIE: MEMORY_USAGE:3,075.91K}
>
> NOTICE 2015-03-29 13:01:21 0.0.0.0
> /opt/packages/pheanstalk/classes/Pheanstalk/Socket/StreamFunctions.php[line:81]
> <CODE_ERROR> fwrite(): send of 176 bytes failed with errno=32 Broken pipe
> {[CLI] COOKIE: MEMORY_USAGE:3,076.27K}
>
> NOTICE 2015-03-29 13:01:21 0.0.0.0
> /opt/packages/pheanstalk/classes/Pheanstalk/Socket/StreamFunctions.php[line:81]
> <CODE_ERROR> fwrite(): send of 176 bytes failed with errno=32 Broken pipe
> {[CLI] COOKIE: MEMORY_USAGE:3,076.49K}
>
> NOTICE 2015-03-29 13:01:21 0.0.0.0
> /opt/packages/pheanstalk/classes/Pheanstalk/Socket/StreamFunctions.php[line:81]
> <CODE_ERROR> fwrite(): send of 176 bytes failed with errno=32 Broken pipe
> {[CLI] COOKIE: MEMORY_USAGE:3,076.58K}
>
> NOTICE 2015-03-29 13:01:21 0.0.0.0
> /opt/packages/pheanstalk/classes/Pheanstalk/Socket/StreamFunctions.php[line:81]
> <CODE_ERROR> fwrite(): send of 176 bytes failed with errno=32 Broken pipe
> {[CLI] COOKIE: MEMORY_USAGE:3,076.60K}
>
> NOTICE 2015-03-29 13:01:21 0.0.0.0
> /opt/packages/pheanstalk/classes/Pheanstalk/Socket/StreamFunctions.php[line:81]
> <CODE_ERROR> fwrite(): send of 176 bytes failed with errno=32 Broken pipe
> {[CLI] COOKIE: MEMORY_USAGE:3,076.71K}
>
> NOTICE 2015-03-29 13:01:21 0.0.0.0
> /opt/packages/pheanstalk/classes/Pheanstalk/Socket/StreamFunctions.php[line:81]
> <CODE_ERROR> fwrite(): send of 176 bytes failed with errno=32 Broken pipe
> {[CLI] COOKIE: MEMORY_USAGE:3,076.89K}
>
> NOTICE 2015-03-29 13:01:21 0.0.0.0
> /opt/packages/pheanstalk/classes/Pheanstalk/Socket/StreamFunctions.php[line:81]
> <CODE_ERROR> fwrite(): send of 176 bytes failed with errno=32 Broken pipe
> {[CLI] COOKIE: MEMORY_USAGE:3,077.13K}
>
> I guess this error result is relevant to the maximum time that beanstalk
> keep the connection.
> So i want to know how long will beanstalk keep the connection.
> Thx all!
>
> --
> You received this message because you are subscribed to the Google Groups
> "beanstalk-talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/beanstalk-talk.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"beanstalk-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/beanstalk-talk.
For more options, visit https://groups.google.com/d/optout.