Skip to content

User Tracker report producting out-of-memory error #700

@lukebarone

Description

@lukebarone

Describe the bug
When trying to pull a User Tracking report, the browser spins then stalls out. I have tried increasing PHP's memory limit, but no change yet (and I don't want to crash this server).

Apache2 Error Log shows:

[Thu Mar 13 10:18:40.634374 2025] [proxy_fcgi:error] [pid 824042:tid 824042] [client 172.16.25.48:51451] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 4294967296 bytes exhausted (tried to allocate 24576 bytes) in /var/www/fog/lib/fog/fogcontroller.class.php on line 260', referer: http://10.2.10.2/fog/management/index.php?node=report&sub=file&f=dXNlciB0cmFja2luZw==
# grep -Ri "memory_limit" /etc/php/
/etc/php/8.2/apache2/php.ini:memory_limit = 512M
/etc/php/8.2/cli/php.ini:memory_limit = -1
/etc/php/8.2/fpm/php.ini:memory_limit = 128M
/etc/php/8.2/fpm/pool.d/www.conf:php_admin_value[memory_limit] = 4096M

To Reproduce
Steps to reproduce the behavior:

  1. Go to Reports
  2. Click on User Tracking
  3. Select a user or hostname, and click Search
  4. HTTP/500 returned; above error log saved

Expected behavior
A report to appear with the information requested. Other reports work correctly (Virus History withstanding - not using that feature).

Software (please complete the following information):

  • FOG version 1.5.10
  • OS: Debian Bookworm 12.9

Additional context
Log entry points to fog/lib/fog/fogcontroller.class.php on line 260: https://github.com/FOGProject/fogproject/blob/stable/packages/web/lib/fog/fogcontroller.class.php#L260

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions