Yes, Greg provided this solution about a year ago. The problem, however,
was introduced in versions between 4.0.9 and 4.1.3.
>From what Greg indicated, this is not a fix. For very large nets, it seems
that the assignment statements at the end of the net file get sent by the
ui to the exec, and each generates a Complete message back from the exec to
the ui. However, a deadlock condition appears to occur when the ui is so
busy sending assignments that it never gets around to reading the Complete
messages coming back from the exec. Eventually the exec blocks since the
socket send buffer is full. But the ui continues sending assignments.
With the exec blocked, it's not reading from the ui's send buffer. Then
the ui's socket send buffer fills and the ui blocks. He said the actual
fix would be difficult. The code that Greg added enables an increase in
the send buffer size.
I have much larger nets and am using a value of DX_SOCKET_BUFSIZE of about
~500K. They do load and run. Make sure you have an appropriate value in
/proc/sys/net/core/wmem_max and /proc/sys/net/core/rmem_max
Mattijs Janssens <[EMAIL PROTECTED]>@opendx.watson.ibm.com on
02/04/2003 07:56:47 AM
Please respond to [email protected]
Sent by: [EMAIL PROTECTED]
To: [email protected]
cc:
Subject: [opendx-users] network buffer size
I have a very large network (.net file is ~500K) and sometimes have
problems starting up (the UI hangs).
This was discussed some time ago and DX_SOCKET_BUFSIZE was introduced as
a temporary solution. (the problem was caused by data being too big for
the buffer size and this environment variable causes a larger buffer to
be allocated bo Dx's sockets).
However I find that even if I am running with exceedingly large values
for this (150K) sometimes DX still wont start correctly. Is there a
better way to solve this problem?
Regards,
Mattijs
--
/*---------------------------------------------------------*\
| =========== Mattijs Janssens |
| \\ / Development Engineer |
| \\ / |
| \\ / Nabla Ltd. |
| \\ / The Mews, Picketts Lodge |
| \\/ Picketts Lane, Salfords, |
| F ield Surrey RH1 5RG. |
| O peration Tel: +44 (0)1293 821272 |
| A nd Email: [EMAIL PROTECTED] |
| M anipulation URL: http://www.Nabla.co.uk |
\*---------------------------------------------------------*/