Clamav: limit memory usage

Once in a while the clamd process can get killed because of memory usage. It turns out it would always get killed when reloading the database after an update. This is due to the fact that during a database reload clamd will load the new DB first and then drop the old…

Read MoreClamav: limit memory usage

T-SQL: Jobs in suspended state

T-SQL-Commands

It is possible that sql jobs are “hanging” in a suspended state. The SQL statements below will give you an indication on what the job is waiting.The first SQL statement will create a small stored procedure in the master database, which can be called by “exec sp_check_state”.The second sql satement…

Read MoreT-SQL: Jobs in suspended state

SQL server: Slow SSMS

T-SQL-Commands

If you are using SSMS 17 or 18, you have maybe noticed that the SSMS startup can be very very very very slow, which is annoying for everyone. There are 2 workaround, which could resolve this issue: Open  Internet Explorer: Options Then scroll to the bottom of the list and uncheck…

Read MoreSQL server: Slow SSMS

Linux: GRUB slow on 4k screens

In case you have a screen with high resolutions, a 4k screen for example, it is possible that GRUB is incredibly slow. If that is the case, the workaround is to edit the /etc/default/grub file, and add/replace the following line Then run “update-grub” to update the GRUB.This will run GRUB…

Read MoreLinux: GRUB slow on 4k screens