Hi,
I'm getting the below error on GUI as soon as I navigate to the "Notification" page:
SQL Error [ndoutils] : Out of sort memory, consider increasing server sort buffer size
This is on with 5.7.5 Nagios XI and on CentOS 8 version.
Regards,
Vision
Notification Page Giving SQL Error
Notification Page Giving SQL Error
Regards,
Vision
Vision
Re: Notification Page Giving SQL Error
Try increasing the sort_buffer_size variable.
The default for sort_buffer_size in CentOS 7 was 2097152.
The default in CentOS 8 is 262144, a mere 12% of what it was in CentOS 7.
Here's how you increase it:
The default for sort_buffer_size in CentOS 7 was 2097152.
The default in CentOS 8 is 262144, a mere 12% of what it was in CentOS 7.
Here's how you increase it:
Code: Select all
echo 'sort_buffer_size = 256000000' >>/etc/my.cnf.d/mysql-server.cnf
service mysqld restartIf you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Notification Page Giving SQL Error
I don't think so by changing the MySQL sort_buffer_size would resolve the issue. I did a bit more analysis and found out that more than 70% of the allocated memory is consuming by the php-fpm service.
The process manager value by default set to dynamic instead of ondemand. Changing this value, restarting the php-fpm brought down the memory consumption on the box to significantly low.
Now, I'm able to access the Notification page.
Anyhow, thanks for the advice!!
I'm currently monitoring the environment and leave for a day/week to see if it spikes back again.
The process manager value by default set to dynamic instead of ondemand. Changing this value, restarting the php-fpm brought down the memory consumption on the box to significantly low.
Now, I'm able to access the Notification page.
Anyhow, thanks for the advice!!
I'm currently monitoring the environment and leave for a day/week to see if it spikes back again.
Regards,
Vision
Vision