Problem to update Data Base

When I try to update SCAP or other data base I get this result:

Trying to acquire lock on /var/lib/gvm/feed-update.lock
/var/lib/gvm/feed-update.lock is locked by another process. Waiting 5 seconds before next try.
Trying to acquire lock on /var/lib/gvm/feed-update.lock
/var/lib/gvm/feed-update.lock is locked by another process. Waiting 5 seconds before next try.
Trying to acquire lock on /var/lib/gvm/feed-update.lock
/var/lib/gvm/feed-update.lock is locked by another process. Waiting 5 seconds before next try.
Trying to acquire lock on /var/lib/gvm/feed-update.lock
/var/lib/gvm/feed-update.lock is lo

How to resolve it?

if you are trying to run Greenbone with very thin resource (CPU/RAM) the feed-sync may not have enough resources to run. Maybe the process is killed by OOM killer but the lock is never released. See this thread.

Otherwise, you should reboot the system to remove the lock, and find out why the process is not completing. It’s likely due to lack of system resources.

Same as

2 Likes

Thanks alot. The increase of memory resolved the issue.

2 Likes