Hi all,
I am trying to deploy the latest PHP,MySQL and Apache for a new webmail
server (My old IMP 3.1 works fine with PHP 4.2.2). Now I have a serious
problem which seems unsolved so far. Here are the versions:
CentOS 4.4
PHP 5.1.6
Apache 2.2.3
MySQL 5.0.24a
UW-IMAP 2004g
Latest Horde+IMP -OR
RoundCube
Problem description (it happens both with IMP and RoundCube).
The problem occurs when opening certain messages from inside the
webmail interface (in IMP it happens also during logging in). Suddenly
CPU usage jumps at 99.5% and Apache hangs. For example, I tried to view
an HTML message with 4 photos attached. The browser stopped after
loading 3 out of 4 photos, and httpd CPU usage jumps at 99.5%. It can't
serve other clients. Only solution? To do a 'pkill' for the hung
process and then restart Apache.
I notice the following error to be logged, but I am not sure this has
something to do with the problem:
[Tue Oct 03 15:07:32 2006] [error] [client 1.2.3.4] PHP Warning:
fgets() [<a href='function. fgets'>function .fgets[/url]]: SSL: fatal
protocol error in
/usr/local/apache223/htdocs/roundcube/program/lib/imap.inc on line 130,
referer: http://server.mydomain.com/roundcube...LD%20-%20INBOX 3 4821
<gr*****@gmail. comwrote in message
news:11******** **************@ k70g2000cwa.goo glegroups.com.. .
Hi all,
I am trying to deploy the latest PHP,MySQL and Apache for a new webmail
server (My old IMP 3.1 works fine with PHP 4.2.2). Now I have a serious
problem which seems unsolved so far. Here are the versions:
CentOS 4.4
PHP 5.1.6
Apache 2.2.3
MySQL 5.0.24a
UW-IMAP 2004g
Latest Horde+IMP -OR
RoundCube
Problem description (it happens both with IMP and RoundCube).
The problem occurs when opening certain messages from inside the
webmail interface (in IMP it happens also during logging in). Suddenly
CPU usage jumps at 99.5% and Apache hangs. For example, I tried to view
an HTML message with 4 photos attached. The browser stopped after
loading 3 out of 4 photos, and httpd CPU usage jumps at 99.5%. It can't
serve other clients. Only solution? To do a 'pkill' for the hung
process and then restart Apache.
I notice the following error to be logged, but I am not sure this has
something to do with the problem:
[Tue Oct 03 15:07:32 2006] [error] [client 1.2.3.4] PHP Warning:
fgets() [<a href='function. fgets'>function .fgets[/url]]: SSL: fatal
protocol error in
/usr/local/apache223/htdocs/roundcube/program/lib/imap.inc on line 130,
referer: http://server.mydomain.com/roundcube...LD%20-%20INBOX
try putting
error_reporting (E_FULL);
at the beginning of the script ..roundcube/program/lib/imap.inc
and if that line refers to a function in another file put that line in the
other file too.
eventually you will find the problem.
It is almost 100% certain that a function (either yours or inbuilt) in the
new PHP behaves differently to one in the earlier version, either because of
the change to v5 or because your configuration settings between the old and
new systems differ in some way.
HTH
Cheers,
Ron Barnett
IT Support for Business www.rjbarnett.co.uk
-----------------------------------------------------------------------------------------
For labellers and labelling supplies visit www.labelzrus.co.uk
try putting
error_reporting (E_FULL);
at the beginning of the script ..roundcube/program/lib/imap.inc
and if that line refers to a function in another file put that line in the
other file too.
eventually you will find the problem.
It is almost 100% certain that a function (either yours or inbuilt) in the
new PHP behaves differently to one in the earlier version, either because of
the change to v5 or because your configuration settings between the old and
new systems differ in some way.
Thanks for the reply. However, I have to note that the same behaviour
occurs also when installing the new applications in my OLD PHP
platform. Is the approach you described suitable for such a case?
"grpprod" <gr*****@gmail. comwrote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
>try putting error_reportin g(E_FULL);
at the beginning of the script ..roundcube/program/lib/imap.inc and if that line refers to a function in another file put that line in the other file too. eventually you will find the problem.
It is almost 100% certain that a function (either yours or inbuilt) in the new PHP behaves differently to one in the earlier version, either because of the change to v5 or because your configuration settings between the old and new systems differ in some way.
Thanks for the reply. However, I have to note that the same behaviour
occurs also when installing the new applications in my OLD PHP
platform. Is the approach you described suitable for such a case?
Yes it works on all PHP versions (or it should do).
I usually put it in my scripts with a check on the server name, so when the
code is on the production server, all errors are suppressed and the script
fails silently, but on the development server, all errors are reported so I
can debug every last warning and notice.
I then put the code on the production box with E_ALL set on and test the
code, then if all is well the errors are suppressed forever. - I would like
to have a written error log but some hosts don't support that,
Cheers
Ron This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Ramsden |
last post by:
I have a script running on PHP v4.3.6 (cgi) that hangs forever
in a call to the Postgres pg_get_result() function when and only
when the query length is 65536 or more bytes.
The query is a simple INSERT, of a single ASCII value into a
'text' type field, and works fine for shorter queries.
(As the code first calls pg_escape_string() on the value to be
inserted, I'm sure the problem doesn't relate to bad characters
in the data.)
|
by: anuradha.k.r |
last post by:
hi,
i am writing a socket program in python,both client side and server
side.I've written the client side which is working perfectly
fine(checked it against server program written in C).but as for my
server program written in python it simply hangs.it does not show any
error also.I've tried sample programs available .I don understand what
the reason is as i am quite new to it.
here is teh server side program:
///////////////////////
|
by: JD |
last post by:
This is another Python problem, I think might be unrelated to
the earlier bug I found, and eventually figured out how to
report it to Sourceforge.
This is related to a question I have about Python hanging up
either from a shell, or by importing a module. This I would not
consider a bug, but more on my inexperience with Python.
If my code causes Python to just hang up, and not allowing me
to break out with control-C or...
|
by: Richard Gutery |
last post by:
G'day. Slight problem that has me perplexed.
We have an ASP app running on Win2K IIS 5.1, devloped on WinXPpro.
Up until the other day, the app worked without problems.
Now, the app hangs on an FSO request. I've inlcuded the relevant code below
for referrence.
Basically, the code will check to see if a dir exists (CALLOUT 1), then
|
by: Dan |
last post by:
I've created a pocketpc app which has a startup form containing a listview.
The form creates an object which in turn creates a System.Threading.Timer.
It keeps track of the Timer state using a TimerState object similar to the
example in the System.Threading.Timer documentation. The method which
handles the timer events, among other things, periodically calls a method in
this TimerState object which raises an event to the startup form,...
| |
by: Tomas Vera |
last post by:
Hello All,
I'ma having trouble getting GetCurrentProcess() to work properly.
What I'm trying to accomplish is list all running processes. But my
call get GetProcesses() hangs.
While testing things out I found that the tiny program listed below
hangs as well.
Am I missing something?
|
by: Alexander Widera |
last post by:
hello,
if i start a program (an exe-file) with Process.Start(...) I don't have the
required permissions that the programm needs (i could start the programm but
the program needs special rights). So I added the StartInfo.UserName and
Password to the Process. Now the program starts, but it hangs... nothing
happens. In the task-manager the process is created, but it doesn't do
anything - no cpu-load and no change of memory-usage.
What...
|
by: Pierre Rouleau |
last post by:
Hi all,
I have a consistent test case where os.popen3() hangs in Windows. The
system hangs when retrieving the lines from the child process stdout.
I know there were several reports related to os.popen3() hanging under
Windows in this group before.
I stumbled on a case where a piece of code works in some occasions and
hangs consistently given different data. It performs exactly the same
on 3 different computers running Windows:
|
by: Arno Stienen |
last post by:
Perhaps I should be a bit more specific. When using this code to connect
to a remote XML-RPC server (C++, xmlrpc++0.7 library):
import xmlrpclib
server = xmlrpclib.Server("http://10.10.101.62:29500")
print server.Connection_Request("roberto")
the Python command line 'hangs' until I kill the server. Then, the
correct output is suddenly displayed:
|
by: Patrick Finnegan |
last post by:
Running db2 8.2 ON aIX 5.3.
We have a third party USEREXIT program that periodically hangs for
some unknown reason.
Db2 generates error message to the diag log.
MESSAGE : Successfully archived log file S0011930.LOG to USEREXIT
from
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |