| Author |
Message |
< Erlang bugs mailing list ~ [erlang-questions] R11B-2 on Solaris 10 kpoll problem |
| Guest |
Posted: Tue Dec 19, 2006 9:00 pm |
|
|
|
Guest
|
Serge Aleynikov writes:
> Hi,
>
> I am experiencing a problem running R11B-2 on Solaris 10 with kpoll enabled:
>
> $ gtar -zxf otp_src_R11B-2.tar.gz
> $ cd otp_src_R11B-2
> $ ./configure --prefix=/opt/erlang/R11B-2
> $ gmake
> $ sudo gmake install
> $ cd /opt/erlang/R11B-2/bin
> $ ./erl
> Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [hipe]
> [kernel-poll:false]
>
> Eshell V5.5.2 (abort with ^G)
> 1> q().
>
> $ ./erl +K true
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> ^C
>
> $ uname -a
> SunOS devstorm10 5.10 Generic_118844-28 i86pc i386 i86pc
>
> Any suggestions?
No suggestion, only to confirm that I see the exact same issue on
SunOS xxxx.xx.xx.xx 5.10 Generic_118855-19 i86pc i386 i86pc
which is an amd64 box, and OTP was built in 64-bit mode.
/Mikael
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Dec 20, 2006 10:51 am |
|
|
|
Guest
|
It works fine on our Solaris 10 sparc machines (unfortunately we do not
have any Solaris 10/x86 machines yet) by default, but if I lower max
open files to 256 (or lower) I get the same problem. I googled a bit on
this and apparently Solaris 10 doesn't want the size of the result array
passed in the /dev/poll ioctl to be greater than OPEN_MAX. The size of
the result array in our case is 256. Hopefully I'll find the time to
look closer at this before we release r11b-3. Increasing max files to
something larger than 256 (ulimit -n) will hopefully work as a
workaround for you.
BR,
Rickard Green, Erlang/OTP
Serge Aleynikov wrote:
> Hi,
>
> I am experiencing a problem running R11B-2 on Solaris 10 with kpoll enabled:
>
> $ gtar -zxf otp_src_R11B-2.tar.gz
> $ cd otp_src_R11B-2
> $ ./configure --prefix=/opt/erlang/R11B-2
> $ gmake
> $ sudo gmake install
> $ cd /opt/erlang/R11B-2/bin
> $ ./erl
> Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [hipe]
> [kernel-poll:false]
>
> Eshell V5.5.2 (abort with ^G)
> 1> q().
>
> $ ./erl +K true
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> {error_logger,{{2006,12,19},{13,57,10}},"~s~n",["erts_poll_wait()
> failed: einval (22)\n"]}
> ^C
>
> $ uname -a
> SunOS devstorm10 5.10 Generic_118844-28 i86pc i386 i86pc
>
> Any suggestions?
>
> Serge
>
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|