Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Troubleshooting and Problems

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-11-2012, 02:40 PM
sdrawkcab sdrawkcab is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Default [Resolved] Timeout when updating tickets

I get quite a few timeouts on my system. I have a new Install, and am doing my initial testing. I can browse around, and change settings, but when it comes to updating tickets, they usually time out. I have seen some emails get pushed out, such as when I assign a ticket to a user with a comment, they get the email from that. I would love any help / suggestions you have for this.

-----
Incoming Emails via IMAP (Google Apps/ Gmail)
Outgoing Emails via SMTP (Google Apps/ Gmail)

Ubuntu 11.10 x86_64 Server
Nginx
PHP 5.3.6 with PHP-FPM.

-------
Here is a sample of a few of the various error showing up in my Error Log.


Code:
2012/04/06 19:26:40 [error] 2115#0: *320 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "POST /scp/tickets.php?id=5 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/tickets.php?id=5"
2012/04/06 19:40:11 [error] 2114#0: *331 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "POST /scp/tickets.php?id=4 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/tickets.php?id=4"
2012/04/06 19:48:06 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/tickets.php?id=5"
2012/04/06 19:48:09 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=email HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php"
2012/04/06 19:48:13 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=email"
2012/04/06 19:48:18 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=email HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff"
2012/04/06 19:48:20 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=depts HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=email"
2012/04/06 19:48:23 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff&dept=1 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=depts"
2012/04/06 19:48:29 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff&id=3 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff&dept=1"
2012/04/06 19:48:31 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=settings HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff&id=3"
2012/04/06 20:43:14 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=email HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=email"
2012/04/06 20:43:17 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=email"
2012/04/06 20:43:19 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff&id=4 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff"
2012/04/06 20:43:21 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=dashboard HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff&id=4"
2012/04/06 20:43:24 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=email HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=dashboard"
2012/04/06 20:44:53 [error] 2114#0: *385 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "POST /scp/tickets.php?id=4 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/tickets.php?id=4"
2012/04/08 15:33:47 [error] 2114#0: *419 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 192.168.63.84, server: MyDomainName.com, request: "GET /favicon.ico HTTP/1.1", host: "MyDomainName.com"
2012/04/08 15:33:47 [error] 2114#0: *417 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 192.168.63.84, server: MyDomainName.com, request: "GET /favicon.ico HTTP/1.1", host: "MyDomainName.com"
2012/04/08 15:33:47 [error] 2114#0: *420 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 192.168.63.84, server: MyDomainName.com, request: "GET /favicon.ico HTTP/1.1", host: "MyDomainName.com"
2012/04/08 15:33:48 [error] 2114#0: *423 FastCGI sent in stderr: "PHP Deprecated:  Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.84, server: MyDomainName.com, request: "GET /scp/admin.php?t=dashboard HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=dashboard"

Last edited by sdrawkcab; 04-11-2012 at 04:00 PM.
Reply With Quote
  #2  
Old 04-11-2012, 03:59 PM
sdrawkcab sdrawkcab is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Default

Alright, I found the cause of my problem.

It was that the server didn't have the /etc/hosts setup.

Since the Domain Name didn't exist externally in the public DNS system, but was only internally resolvable, I had to set it in the host on the server for the PHP-FPM to work properly with the listening socket.

This fixed my problem.
Reply With Quote
  #3  
Old 04-19-2012, 12:06 PM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,625
Default

Thank you for posting your solution. Maybe it someone else will find it and it will help them.
Reply With Quote
Reply

Bookmarks

Tags
fpm, nginx, php-fpm, timeout, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:09 PM.