[ldm-users] ldm data dir question

having issues with our server ( centos7 ) that runs ldm... locking up. It has happened 2 times in the last 3 weeks or so. The server is pingable... so it's not totally dead.. but you can't get a local or remote console to start. can't figure out if it is out of memory or file handles or what.... it's like a ghost of itself.

After rebooting... the  /home/ldm/var/data/ has around 350,000 files in it.  I am not sure if that is 'ok' or a bit extra.

We are running a

ldmadmin scour

command... via cron but I don't know what that is doing exactly or it it's doing much.

when I try and restart ldm it says:

Checking the product-queue...
The writer-counter of the product-queue isn't zero. Either a process
has the product-queue open for writing or the queue might be corrupt.
Terminate the process and recheck or use
    pqcat -l- -s -q /home/ldm/var/queues/ldm.pq && pqcheck -F -q
    /home/ldm/var/queues/ldm.pq
to validate the queue and set the writer-counter to zero.
LDM not started


In the past.... during testing and what not.. I've been able to run:
pqcat -l- -s -q /home/ldm/var/queues/ldm.pq && pqcheck -F -q/home/ldm/var/queues/ldm.pq

and ldm would start after that. This time.. with the 350K files or so.. that pqcat stuff fails.

I am deleting older ( than a day ) files from the /home/ldm/var/data/ direcory... going to see if

pqcat -l- -s -q /home/ldm/var/queues/ldm.pq && pqcheck -F -q/home/ldm/var/queues/ldm.pq


will work or if I have to rm -rf /home/ldm/var/data/ and start a new q.


If  ldmadmin scour does not let us remove enough files from /home/ldm/var/data/ can I use find and rm to remove files or do they have to be removed using ldm to keep and queses or indexes in sync?

- jack

--
*jack* - Southlake Texas - http://mylinuxguy.net <http://mylinuxguy.net/> - *817-601-7338*
  • 2020 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: