[imp] logs getting filled up repeatedly with same error and filling up space.

Michael Menge michael.menge at zdv.uni-tuebingen.de
Wed Feb 19 12:04:26 UTC 2025


Hi,

sorry for replying to an old thread, but we hit the same problem today.

I found a bug report https://bugs.horde.org/ticket/15101 and have  
added a patch.
As I am unable to reproduce the problem i would appreciate it if someone could
review my patch.

Kind regards

    Michael Menge

Quoting ANANT S ATHAVALE <asa at ursc.gov.in>:

> ----- Message from ANANT S ATHAVALE <asa at ursc.gov.in> ---------
>    Date: Mon, 13 Feb 2023 09:43:10 +0530
>    From: ANANT S ATHAVALE <asa at ursc.gov.in>
> Subject: Re: [imp] logs getting filled up repeatedly with same error  
> and filling up space.
>      To: imp at lists.horde.org
>
>
>> ----- Message from ANANT S ATHAVALE <asa at ursc.gov.in> ---------
>>   Date: Fri, 10 Feb 2023 17:26:03 +0530
>>   From: ANANT S ATHAVALE <asa at ursc.gov.in>
>> Subject: Re: [imp] logs getting filled up repeatedly with same  
>> error and filling up space.
>>     To: imp at lists.horde.org
>>     Cc: "RAKESH KUMAR (GH-CIG)" <rakesh at ursc.gov.in>, RAKESH  
>> PRITMANI <pritmani at ursc.gov.in>, YOGEEN SADANANDA HONNAVAR  
>> <yogeen at ursc.gov.in>
>>
>>
>>> Dear List,
>>>
>>> When I searched for this type of errors, I got following 2 links,
>>>
>>>
>>> https://marc.info/?l=imp&m=134856483108601&w=2
>>>
>>> https://www.mail-archive.com/imp@lists.horde.org/msg11032.html
>>>
>>>
>>> The second matches with my problem.
>>>
>>> Is there already patch for this?
>>>
>>>
>>> Regards,
>>> ANANT
>>>
>>>
>>>
>>> ----- Message from ANANT S ATHAVALE <asa at ursc.gov.in> ---------
>>>  Date: Fri, 10 Feb 2023 16:59:58 +0530
>>>  From: ANANT S ATHAVALE <asa at ursc.gov.in>
>>> Subject: [imp] logs getting filled up repeatedly with same error  
>>> and filling up space.
>>>    To: imp at lists.horde.org
>>>
>>>
>>>> Dear List,
>>>>
>>>> Using HGWE 5.2.22.
>>>>
>>>> From past 2 days, observing a new problem.
>>>>
>>>> Suddenly horde.log file gets filled up with these 2 lines  
>>>> repeatedly being written to log file and file system gets filled  
>>>> up.
>>>>
>>>> Feb 10 2023 13:55:00 WARN: HORDE [imp] PHP ERROR: rewind()  
>>>> expects parameter 1 to be resource, null given [pid 452941 on  
>>>> line 3166 of "xxx/horde/imp/lib/Compose.php"]
>>>> Feb 10 2023 13:55:00 WARN: HORDE [imp] PHP ERROR: feof() expects  
>>>> parameter 1 to be resource, null given [pid 452941 on line 3168  
>>>> of "xxx/horde/imp/lib/Compose.php"]
>>>>
>>>> I stop the web service, remove all these lines from log file and  
>>>> restart the web service.  And system works fine till we encounter  
>>>> this issue again.
>>>>
>>>> Has anyone observed similar behavior and any pointers for  
>>>> resolving this issue.  Using PHP 5.4 on Cent OS 7.
>>>>
>>>>
>>>> -- 
>>>>   सादर धन्यवाद/ Thanks & Regards
>>>>        अनंत / Anant
>>>> ------------------------------------------------------------------------------
>>>> Confidentiality Notice: This e-mail message, including any  
>>>> attachments, is for
>>>> the sole use of the intended recipient(s) and may contain confidential and
>>>> privileged information. Any unauthorized review, use, disclosure or
>>>> distribution is prohibited. If you are not the intended recipient, please
>>>> contact the sender by reply e-mail and destroy all copies of the original
>>>> message.
>>>> ------------------------------------------------------------------------------
>>>>
>>>> -- 
>>>> imp mailing list
>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>
>>>
>>> ----- End message from ANANT S ATHAVALE <asa at ursc.gov.in> -----
>>>
>>>
>>>
>>> -- 
>>>    सादर धन्यवाद/ Thanks & Regards
>>>         अनंत / Anant
>>> ------------------------------------------------------------------------------
>>> Confidentiality Notice: This e-mail message, including any  
>>> attachments, is for
>>> the sole use of the intended recipient(s) and may contain confidential and
>>> privileged information. Any unauthorized review, use, disclosure or
>>> distribution is prohibited. If you are not the intended recipient, please
>>> contact the sender by reply e-mail and destroy all copies of the original
>>> message.
>>> ------------------------------------------------------------------------------
>>>
>>> -- 
>>> imp mailing list
>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>
>>
>> ----- End message from ANANT S ATHAVALE <asa at ursc.gov.in> -----
>> All,
>>
>> Could this be related to the following EMERG WARNING:
>>
>> EMERG: HORDE [imp] Unable to open VFS file  
>> .horde/imp/compose/63e9b2d5-a508-4a9e-bd35-fe410a150514.  
>> fopen(/tmp/.horde/imp/compose/63e9b2d5-a508-4a9e-bd35-fe410a150514): failed  
>> to open stream: No such file or directory [pid 152862 on line 71 of  
>> "/var/www/horde/imp/lib/Compose/Attachment/Storage/Vfs.php"]
>>
>>
>> Please guide.
>>
>>
>>
>> -- 
>>     सादर धन्यवाद/ Thanks & Regards
>>          अनंत / Anant
>> ------------------------------------------------------------------------------
>> Confidentiality Notice: This e-mail message, including any  
>> attachments, is for
>> the sole use of the intended recipient(s) and may contain confidential and
>> privileged information. Any unauthorized review, use, disclosure or
>> distribution is prohibited. If you are not the intended recipient, please
>> contact the sender by reply e-mail and destroy all copies of the original
>> message.
>> ------------------------------------------------------------------------------
>>
>> -- 
>> imp mailing list
>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
>
> ----- End message from ANANT S ATHAVALE <asa at ursc.gov.in> -----
>
> Is Using VFS recommended for IMP Compose?  Currently, it is disabled  
> and same setting is there for years.
>
> When VFS is not enabled why errors like following should come in log
>
> MERG: HORDE [imp] Unable to open VFS file
>  .horde/imp/compose/63e9b2d5-a508-4a9e-bd35-fe410a150514.
> fopen(/tmp/.horde/imp/compose/63e9b2d5-a508-4a9e-bd35-fe0a150514):
> failed to open stream: No such file or directory [pid 152862 on line
> 71 of "/var/www/horde/imp/lib/Compose/Attachment/Storage/Vfs.php"]
>
>
> -- 
>      सादर धन्यवाद/ Thanks & Regards
>           अनंत / Anant
> ------------------------------------------------------------------------------
> Confidentiality Notice: This e-mail message, including any  
> attachments, is for
> the sole use of the intended recipient(s) and may contain confidential and
> privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message.
> ------------------------------------------------------------------------------
>
> -- 
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org



--
--------------------------------------------------------------------------------
Michael Menge                          Tel.: (49) 7071 / 29-70316
Universität Tübingen                   Fax.: (49) 7071 / 29-5912
Zentrum für Datenverarbeitung          mail:  
michael.menge at zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6607 bytes
Desc: S/MIME-Signatur
URL: <https://lists.horde.org/archives/imp/attachments/20250219/e6d73e78/attachment.bin>


More information about the imp mailing list