Transient object container session_data in event.log

46 views
Skip to first unread message

hrydziusz...@gmail.com

unread,
Apr 26, 2022, 7:00:34 AM4/26/22
to Zenoss Core
Zenoss 4.2.3
I have a few issue in the event.log
2022-04-26T12:53:33 WARNING Transience Transient object container session_data max subobjects reached

A few, I mean hundreds thousand...

[root@zenoss_server /opt/zenoss/log]# fgrep "Transient object container session_data" event.log | wc -l
579969

Someone can to explain this?
Thanks in advance.

Jane Curry

unread,
Apr 26, 2022, 7:17:47 AM4/26/22
to Zenoss Core
This is rather a guess but "session" makes me think of the zodb_session transient database, which you can throw away and recreate.  Note - I would make sure I had a backup position before doing this, though I have used it several times and it hasn't bitten me yet ;)

Look on the zenoss wiki at http://wiki.zenoss.org/Troubleshooting_Zenoss_PosKey_Errors   for instructions that match Zenoss Core.  If you have the chargeable Resource Manager version, there is an article at https://support.zenoss.com/hc/en-us/articles/203075445-How-To-Clear-The-Zends-zodb-session-Table   that matches better.  Clearly, if you have changed user names / passwords / permissions on your SQL database then you will need to substitute the correct values.

HTH,
Jane

hrydziusz...@gmail.com

unread,
Apr 26, 2022, 10:51:52 AM4/26/22
to Zenoss Core
Well, it didn't help :(
I found something else that I didn't see before.

2022-04-26T16:41:18 ERROR Zope.SiteErrorLog 1650984078.060.965265195531 http://zenoss_server/zport/dmd/ZenEventManager/sendEvent
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.BaseRequest, line 596, in traverse
  Module Products.ZenUtils.patches.pasmonkey, line 91, in validate
  Module Products.PluggableAuthService.PluggableAuthService, line 558, in _extractUserIds
  Module Products.PluggableAuthService.plugins.SessionAuthHelper, line 72, in extractCredentials
  Module ZPublisher.HTTPRequest, line 1379, in __getattr__
  Module ZPublisher.HTTPRequest, line 1336, in get
  Module Products.Sessions.SessionDataManager, line 101, in getSessionData
  Module Products.Sessions.SessionDataManager, line 188, in _getSessionDataObject
  Module Products.Transience.Transience, line 842, in new_or_existing
  Module Products.Transience.Transience, line 448, in __setitem__
MaxTransientObjectsExceeded: 1000 exceeds maximum number of subobjects 1000

Should I find setting for this in /opt/zenoss/etc/zope.conf ?

I have no chargeable Resource Manager version, just Zenoss Core.

Tommy

Jane Curry

unread,
Apr 26, 2022, 1:45:03 PM4/26/22
to Zenoss Core
OK. The other thought on "transitional data", given that it is sendEvent that is wingeing, is that it might be the event log indexes.  Check here  http://wiki.zenoss.org/index.php?title=ClearEventIndex&oldid=13954    for details.  Usual caveat applies ;)

Cheers,
Jane

hrydziusz...@gmail.com

unread,
Apr 29, 2022, 10:10:25 PM4/29/22
to Zenoss Core
Hi,
I waited a few days to check if my instance of Zenoss works correctly.
It looks that I had to set "maximum-number-of-session-objects" parameter in the first step and next to drop "zodb_session" database.
No errors found in the logs files now.

Jane, big thanks for your help.

Case closed.

Regards,
Tommy

Jane Curry

unread,
Apr 30, 2022, 5:41:21 AM4/30/22
to Zenoss Core
Glad you got there, Tommy :)  Just for the record, where did you set that patameter for "maximum-number-of-session-objects" ??
Cheers,
Jane

hrydziusz...@gmail.com

unread,
May 2, 2022, 9:04:24 AM5/2/22
to Zenoss Core
This parameter can be set in the "zope.conf" file. The full path is "/opt/zenoss/etc/zope.conf"
Reply all
Reply to author
Forward
0 new messages