[Box-Admins] Re: squeaksource.com image update
Bert Freudenberg
bert at freudenbergs.de
Mon Oct 21 09:56:23 UTC 2013
On 2013-10-19, at 14:35, "David T. Lewis" <lewis at mail.msen.com> wrote:
> For the record, the socket leak process is:
>
> [[vmFileCount := (FileDirectory on: '/proc/', OSProcess thisOSProcess pid asString, '/fd')
> entries size.
> OSProcess trace: DateAndTime now asString, ' squeakvm has ', vmFileCount asString,
> ' open file descriptors'.
> vmFileCount > 800 ifTrue: [
> OSProcess trace: 'Too many open file handles, save image and exit'.
> "Save the image, exit and wait for the supervisory script to restart"
> Smalltalk snapshot: true andQuit: true].
> (Delay forSeconds: 3 * 3600) wait] repeat] fork name: 'the Socket leak monitor'.
>
> Dave
Wouldn't it be better to snapshot in the UI process?
- Bert -
More information about the Box-Admins
mailing list