cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Too many open files

Too many open files

ralight
New Poster

Hello,

I'm occasionally coming across the situation that functions in the ctrlX web interface fail with an error like "too many files open". If I try to log in again over the web, I am unable to do so.

Doing some debugging, I've found that there are two processes with many files open, both in the rexroth-deviceadmin snap. They are caddy and wasp.

I'm not entirely sure of the cause of this, however it seems to be related to manually installing/uninstalling snaps. When I started writing this post the two processes had 145 and 154 open files respectively. I have just uninstalled my local snap and the counts changed to 213 and 222 respectively. journalctl reports many errors related to wasp:

Oct 21 11:17:03 ctrlX-CORE wasp[20890]: ||080F0410|Trace error web.common.logger|||||web.identitymanager|jlogger.go
|jlogger.(*JLoggerImpl).TraceError|179|Server validation: Failed to receive request: EOF

 

Deleting the local package and uploading a new one didn't result in a permanent change in the open file count, nor any error messages.

Installing the new snap produces a lot more of the above errors, and roughly the same increase in the open file count. I'm now up and 277 and 286. Once the count hits 1024, the processes need restarting. Using `snap restart snap.rexroth-deviceadmin` fixes the problem, as does restarting the device.

I can work around it, but I thought you might like the information to investigate why it might be happening.

Regards,

Roger

1 REPLY 1

jochen-scheib
Established Member

Thanks for reporting the bug. We have noticed similar behavior when installing/uninstalling many apps without a restart of a device. We are currently investigating the issue and will keep you updated.

Best regards

Jochen Scheib

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist