|
|
|
| Здравствуйте. Подскажите пожалуйста, как исправить ошибку которая возникает в коде:
private function __process( $maximum = 5 ) {
$remaining = $maximum;
do {
$starttime = ( microtime( true ) * 1000000 );
$read = array(
$this->socket
);
$write = array();
$except = array();
if( is_null( $maximum ) ) {
$secs = NULL;
$usecs = NULL;
} else if( $maximum == 0 ) {
$secs = 0;
$usecs = 0;
} else {
$usecs = $remaining % 1000000;
$secs = floor( ( $remaining - $usecs ) / 1000000 );
}
if( !is_resource( $read[0] ) )
throw new Exception( 'wrong server, login or password' );
$updated = @stream_select( $read, $write, $except, $secs, $usecs );
|
Вида :
stream_select(): unable to select [4]: Interrupted system call (max_fd=5)
|
| |
|
|