Ad Widget

Collapse

Zabbix Proxy hybrid mode only using disk?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mariusl
    Junior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2024
    • 25

    #1

    Zabbix Proxy hybrid mode only using disk?

    Seemingly our 7.2.2 proxy using SQLIte is only using disk for some reason, even with ProxyBufferMode=hybrid and ProxyMemoryBufferSize=16M configured.
    As far as i've understood from the documentation these are the only parameters required to allow using memory and disk. The configuration file is mostly default from a fresh install of Zabbix 7.0, upgraded to 7.2. Only changes are to the Server, ListenPort, HostnameItem and Database specific parameters.

    Also have a strange error from the Zabbix proxy template as seen below, stating that memory buffer is disabled.

    Click image for larger version  Name:	image.png Views:	0 Size:	21.5 KB ID:	498736

    I have tested increasing ProxyMemoryBufferSize to 1G without observing any changes.
    The server itself does have available memory. No useful information in the proxy logs.

    Is there another parameter in the configuration i've forgot?
    Last edited by mariusl; 07-02-2025, 15:30.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Should be enough of those 2... Another one I have without those 2 parameters is showing exatly as yours...

    Click image for larger version

Name:	image.png
Views:	149
Size:	30.1 KB
ID:	498743

    Comment

    • mariusl
      Junior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Aug 2024
      • 25

      #3
      Originally posted by cyber
      Should be enough of those 2... Another one I have without those 2 parameters is showing exatly as yours...

      Click image for larger version  Name:	image.png Views:	0 Size:	30.1 KB ID:	498743
      That's very interesting. Likely defaults to disk then, which obviously disables memory buffer. I assume the first proxy in your image is configured with ProxyBufferMode=memory?
      Last edited by mariusl; 07-02-2025, 16:20.

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        ProxyBufferMode=hybrid
        ProxyMemoryBufferSize=1G
        Other one did not have those parameters at all (well both of them did not have them, but I added to only one at first). I doubt I ever need so big of a buffer, but ...
        I think that one "state change" there shows, that it starts up with disk and then switches over to memory mode.

        Comment

        • mariusl
          Junior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Aug 2024
          • 25

          #5
          Originally posted by cyber
          ProxyBufferMode=hybrid
          ProxyMemoryBufferSize=1G
          Other one did not have those parameters at all (well both of them did not have them, but I added to only one at first). I doubt I ever need so big of a buffer, but ...
          I think that one "state change" there shows, that it starts up with disk and then switches over to memory mode.
          So same configuration as i have then.
          Yes, state change would indicate a change between disk and memory. However, it has not changed since i set up the proxy which is now over 1 month ago.

          Really don't understand what is going on, or how to troubleshoot further

          Comment

          Working...