piler cannot open frame file

Issue #1331 closed
Nandakumar Palanisamy created an issue

piler 1.3.0, build 955, Janos SUTO sj@acts.hu

Build Date: Fri Feb 5 18:04:22 IST 2021
ldd version: ldd (GNU libc) 2.17

gcc version: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)

mails receiving from mail server but mails not stored showing as below error

“connection from mail server IP

Err: opening a tempfile: 40000000…….

cannot open frame file 40000000…….m”

restarted piler, searchd & mysql.

tmp folder rights

[root@piler ~]# ls -ld /var/piler/tmp
drwxrwxrwx. 2 root root 1105920 Nov 08 10:57 tmp

[root@piler ~]# ls -ld /var/www/piler/tmp/
drwxrwx---. 5 piler apache 233472 Nov 08 11:14 /var/www/piler/tmp/

how to resolve this

Comments (15)

  1. Janos SUTO repo owner

    The parser initially creates temp files in the /var/piler/tmp dir, however at the end of the processing these files should be moved to /var/piler/store dir. For some reason the parsing or the processing was aborted and these stale files are left in the tmp dir. Check the mail logs for possible clues why.

  2. Nandakumar Palanisamy reporter

    we didn’t found any other error in maillog Is need to enable debug log to capture any other error in log

  3. Janos SUTO repo owner

    Errors are logged at normal level, however it may be worth to enable debug logging to figure out what the last step is where the processing stops. I assume you checked for free disk space and memory, and they are not the issue.

  4. Nandakumar Palanisamy reporter

    yes checked sufficient resource have
    15 GB memory Available 11 GB
    SWAP 15GB

    Free space in /var/piler - 80GB

  5. Janos SUTO repo owner

    You enabled debug logging, right? Then compare the logs for a properly processed email and aborted email. What’s the last step for the latter? Is it consistently the same step?

  6. Nandakumar Palanisamy reporter

    no I’m not enabled debug, i want to know how to enable debug please send the steps to enable

  7. Nandakumar Palanisamy reporter

    Here enclosed the log file after enable debug mode can you please check & let me know what needs to change

  8. Janos SUTO repo owner

    Please don’t redact the filenames from the error opening stuff. Also, can you archive any message properly or all emails fail?

    It seems to me that you have some disk write issue. Tell me more about the host, eg. do you use local storage, permissions are fine on /var/piler/ and subdirectories, etc.

  9. Log in to comment