passenger icon indicating copy to clipboard operation
passenger copied to clipboard

Passenger is not spawning the Padrino app

Open yashwinkumar opened this issue 7 years ago • 3 comments

Apache: 2.4 Phusion Passenger: 5.0.30 Debian: 9 (Stretch) App: Padrino framework Ruby: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]

[ 2019-03-25 18:16:19.6739 19138/7fa726ca5700 age/Cor/CoreMain.cpp:532 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2019-03-25 18:16:19.6739 19146/7fe58bfff700 age/Ust/UstRouterMain.cpp:422 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2019-03-25 18:16:19.6740 19138/7fa72c1ac780 age/Cor/CoreMain.cpp:901 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2019-03-25 18:16:19.6741 19146/7fe59546f780 age/Ust/UstRouterMain.cpp:492 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2019-03-25 18:16:19.6742 19138/7fa726423700 Ser/Server.h:817 ]: [ServerThr.2] Freed 128 spare client objects
[ 2019-03-25 18:16:19.6742 19138/7fa726423700 Ser/Server.h:464 ]: [ServerThr.2] Shutdown finished
[ 2019-03-25 18:16:19.6744 19138/7fa725ba1700 Ser/Server.h:817 ]: [ServerThr.3] Freed 128 spare client objects
[ 2019-03-25 18:16:19.6744 19138/7fa725ba1700 Ser/Server.h:464 ]: [ServerThr.3] Shutdown finished
[ 2019-03-25 18:16:19.6744 19146/7fe58b7fe700 Ser/Server.h:817 ]: [UstRouterApiServer] Freed 0 spare client objects
[ 2019-03-25 18:16:19.6744 19146/7fe58b7fe700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
[ 2019-03-25 18:16:19.6744 19146/7fe58bfff700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
[ 2019-03-25 18:16:19.6745 19138/7fa72531f700 Ser/Server.h:817 ]: [ServerThr.4] Freed 128 spare client objects
[ 2019-03-25 18:16:19.6746 19138/7fa72531f700 Ser/Server.h:464 ]: [ServerThr.4] Shutdown finished
[ 2019-03-25 18:16:19.6747 19138/7fa6ef7fe700 Ser/Server.h:817 ]: [ApiServer] Freed 0 spare client objects
[ 2019-03-25 18:16:19.6748 19138/7fa6ef7fe700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
[ 2019-03-25 18:16:19.6749 19138/7fa6effff700 Ser/Server.h:817 ]: [ServerThr.6] Freed 128 spare client objects
[ 2019-03-25 18:16:19.6749 19138/7fa6effff700 Ser/Server.h:464 ]: [ServerThr.6] Shutdown finished
[ 2019-03-25 18:16:19.6747 19138/7fa724a9d700 Ser/Server.h:817 ]: [ServerThr.5] Freed 128 spare client objects
[ 2019-03-25 18:16:19.6750 19138/7fa724a9d700 Ser/Server.h:464 ]: [ServerThr.5] Shutdown finished
[ 2019-03-25 18:16:19.6751 19138/7fa726ca5700 Ser/Server.h:817 ]: [ServerThr.1] Freed 128 spare client objects
[ 2019-03-25 18:16:19.6751 19138/7fa726ca5700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished
[ 2019-03-25 18:16:19.6860 19146/7fe59546f780 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
[ 2019-03-25 18:16:19.7097 19171/7fef7c741780 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
[ 2019-03-25 18:16:19.7263 19174/7fbc77682780 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
[ 2019-03-25 18:16:19.7265 19174/7fbc77682780 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
[ 2019-03-25 18:16:19.7319 19174/7fbc77682780 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 19174
[ 2019-03-25 18:16:19.7456 19183/7fe046563780 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
[ 2019-03-25 18:16:19.7467 19183/7fe046563780 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 19183
[ 2019-03-25 18:16:19.7599 19138/7fa72c1ac780 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished

When I open the app from the browser getting following error in the log

App 19274 stdout:
[ 2019-03-25 18:18:51.3643 19174/7fbc705f1700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /usr/share/fk-portkey: An error occurred while starting the web application: it did not write a startup response in time.

$ passenger-memory-stats

Version: 5.0.30
Date   : 2019-04-04 11:37:28 +0530
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_IN:en",
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_IN:en",
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US").

---------- Apache processes ----------
PID    PPID   VMSize    Private  Name
--------------------------------------
18358  1      98.7 MB   0.5 MB   /usr/sbin/apache2 -k start
18395  18358  379.0 MB  0.5 MB   /usr/sbin/apache2 -k start
18397  18358  507.1 MB  0.6 MB   /usr/sbin/apache2 -k start
### Processes: 3
### Total private dirty RSS: 1.56 MB


-------- Nginx processes --------

### Processes: 0
### Total private dirty RSS: 0.00 MB


----- Passenger processes ------
PID    VMSize     Private  Name
--------------------------------
18361  421.1 MB   1.1 MB   Passenger watchdog
18364  1451.5 MB  2.8 MB   Passenger core
18373  429.5 MB   1.2 MB   Passenger ust-router
18476  340.6 MB   81.5 MB  Passenger RubyApp: /usr/share/fk-portkey-ui (development)
### Processes: 4
### Total private dirty RSS: 86.63 MB

yashwinkumar avatar Mar 25 '19 12:03 yashwinkumar

Can you provide the logs of the issue with PassengerLogLevel set to 7? Also if your app logs to separate logs, please provide those as well.

Currently all we see in these logs is that your app took more than the configured timeout (default 90s) to start, not why.

CamJN avatar Mar 25 '19 15:03 CamJN

Here is the log after update the conf with PassengerLogLevel 7

[ 2019-04-04 11:33:08.4726 17814/7f39af24f700 age/Ust/Controller.h:657 ]: Running UstRouter garbage collector
[ 2019-04-04 11:33:08.4727 17814/7f39af24f700 age/Ust/Controller.h:676 ]: Done running UstRouter garbage collector
[ 2019-04-04 11:33:08.4727 17814/7f39af24f700 age/Ust/Controller.h:691 ]: Flushing sinks that need flushing
[ 2019-04-04 11:33:08.4728 17814/7f39af24f700 age/Ust/Controller.h:705 ]: Done flushing sinks that need flushing
[ 2019-04-04 11:33:08.6453 17837/7fc87ffff700 apa/Hooks.cpp:277 ]: File descriptor opened: 19
[ 2019-04-04 11:33:08.6455 17806/7f3eabfff700 Ser/AcceptLoadBalancer.h:195 ]: File descriptor opened: 64
[ 2019-04-04 11:33:08.6455 17806/7f3eabfff700 Ser/AcceptLoadBalancer.h:136 ]: Accepted client file descriptor: 64
[ 2019-04-04 11:33:08.6456 17806/7f3eabfff700 Ser/AcceptLoadBalancer.h:195 ]: File descriptor opened: -1
[ 2019-04-04 11:33:08.6456 17806/7f3eabfff700 Ser/AcceptLoadBalancer.h:164 ]: Feeding client to server thread 1: file descriptor 64
[ 2019-04-04 11:33:08.6457 17806/7f3ee377d700 age/Cor/Con/TurboCaching.h:245 ]: Clearing turbocache
[ 2019-04-04 11:33:08.6457 17806/7f3ee377d700 Ser/Server.h:370 ]: [ServerThr.2] Checking out client object from freelist (128 -> 127)
[ 2019-04-04 11:33:08.6458 17806/7f3ee377d700 Ser/Server.h:621 ]: [Client 2-1] Client associated with file descriptor: 64
[ 2019-04-04 11:33:08.6458 17806/7f3ee377d700 Ser/Server.h:791 ]: File descriptor purpose: 64: Server ServerThr.2, client 2-1
[ 2019-04-04 11:33:08.6458 17806/7f3ee377d700 Ser/Server.h:795 ]: [ServerThr.2] 1 new client(s) accepted; there are now 1 active client(s)
[ 2019-04-04 11:33:08.6458 17806/7f3ee377d700 Ser/HttpServer.h:700 ]: [Client 2-1] Event: onClientAccepted
[ 2019-04-04 11:33:08.6458 17806/7f3ee377d700 Ser/HttpServer.h:249 ]: [Client 2-1] Refcount increased; it is now 3
[ 2019-04-04 11:33:08.6458 17806/7f3ee377d700 Ser/FileBufferedChannel.h:1459 ]: [FBC 0x25ea080] Deinitialize
[ 2019-04-04 11:33:08.6459 17806/7f3ee377d700 Ser/HttpServer.h:135 ]: [ServerThr.2] Creating new request object
[ 2019-04-04 11:33:08.6459 17806/7f3ee377d700 Ser/Server.h:473 ]: [Client 2-1] Processing 1212 bytes of client data
[ 2019-04-04 11:33:08.6460 17806/7f3ee377d700 Ser/HttpServer.h:708 ]: [Client 2-1] Event: onClientDataReceived
[ 2019-04-04 11:33:08.6460 17806/7f3ee377d700 Ser/HttpServer.h:711 ]: [Client 2-1] Request refcount increased; it is now 2
[ 2019-04-04 11:33:08.6460 17806/7f3ee377d700 Ser/HttpServer.h:270 ]: [Client 2-1] Parsing 1212 bytes of HTTP header: "GET / HTTP/1.1\r\nHost: 10.85.130.199:28850\r\nCache-Control: max-age=0\r\nUpgrade-Insecure-Requests: 1\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-US,en;q=0.9\r\nCookie: ext_name=jaehkpjddfdgiiefcnhahapilbejohhj\r\nConnection: close\r\n!~: Vz60YZpKCjK2c47YacWYJciY\r\n!~DOCUMENT_ROOT: /usr/share/fk-portkey-ui/public\r\n!~REMOTE_ADDR: 172.20.96.208\r\n!~REMOTE_PORT: 60491\r\n!~PASSENGER_APP_GROUP_NAME: /usr/share/fk-portkey-ui (development)\r\n!~PASSENGER_APP_ROOT: /usr/share/fk-portkey-ui\r\n!~PASSENGER_APP_TYPE: rack\r\n!~PASSENGER_RUBY: /usr/lib/ruby-flo/bin/ruby\r\n!~PASSENGER_APP_ENV: development\r\n!~PASSENGER_START_TIMEOUT: 300\r\n!~PASSENGER_STARTUP_FILE: /usr/share/fk-portkey-ui/config.ru\r\n!~PASSENGER_SPAWN_METHOD: direct\r\n!~PASSENGER_ENV_VARS: UkFJTFNfUkVMQVRJVkVfVVJMX1JPT1QAAFNVUFBMWV9DSEFJTl9DT01QQU5ZAGIyYgBGTE9fR0VNX1NFUlZFUgBodHRwOi8vMTAuODUuMTQ3LjE4Mi8AREVQTE9ZX0VOVgBwcm9kdWN0aW9uAE5PX0FVVEgAWQBESVNBQkxFX0NPTVBBTllfQ0hFQ0sAAA==\r\n!~FLAGS: CDB\r\n\r\n"
[ 2019-04-04 11:33:08.6461 17806/7f3ee377d700 Ser/HttpServer.h:281 ]: [Client 2-1] New request received: #1
[ 2019-04-04 11:33:08.6462 17806/7f3ee377d700 age/Cor/Con/InitRequest.cpp:497 ]: [Client 2-1] Initiating request
[ 2019-04-04 11:33:08.6462 17806/7f3ee377d700 age/Cor/Con/InitRequest.cpp:87 ]: [Client 2-1] Dechunk flag detected
[ 2019-04-04 11:33:08.6462 17806/7f3ee377d700 age/Cor/Con/InitRequest.cpp:90 ]: [Client 2-1] Request body buffering enabled
[ 2019-04-04 11:33:08.6462 17806/7f3ee377d700 age/Cor/Con/InitRequest.cpp:96 ]: [Client 2-1] Stripping 100 Continue header
[ 2019-04-04 11:33:08.6462 17806/7f3ee377d700 age/Cor/Con/InitRequest.cpp:109 ]: [Client 2-1] Turbocaching: trying to reply from cache (key "H10.85.130.199:28850\n/")
[ 2019-04-04 11:33:08.6462 17806/7f3ee377d700 age/Cor/Con/InitRequest.cpp:110 ]: [Client 2-1] Turbocache entries:
 #0: valid=0, hash=0, expiryDate=0, keySize=0, key=""
 #1: valid=0, hash=0, expiryDate=0, keySize=0, key=""
 #2: valid=0, hash=0, expiryDate=0, keySize=0, key=""
 #3: valid=0, hash=0, expiryDate=0, keySize=0, key=""
 #4: valid=0, hash=0, expiryDate=0, keySize=0, key=""
 #5: valid=0, hash=0, expiryDate=0, keySize=0, key=""
 #6: valid=0, hash=0, expiryDate=0, keySize=0, key=""
 #7: valid=0, hash=0, expiryDate=0, keySize=0, key=""

[ 2019-04-04 11:33:08.6463 17806/7f3ee377d700 age/Cor/Con/InitRequest.cpp:130 ]: [Client 2-1] Turbocaching: request not eligible for caching
[ 2019-04-04 11:33:08.6463 17806/7f3ee377d700 age/Cor/Con/InitRequest.cpp:303 ]: [Client 2-1] Creating new pool options: app group name=/usr/share/fk-portkey-ui (development)
[ 2019-04-04 11:33:08.6464 17806/7f3ee377d700 age/Cor/Con/CheckoutSession.cpp:55 ]: [Client 2-1] Checking out session: appRoot=/usr/share/fk-portkey-ui
[ 2019-04-04 11:33:08.6464 17806/7f3ee377d700 age/Cor/Con/CheckoutSession.cpp:69 ]: [Client 2-1] Request refcount increased; it is now 3
[ 2019-04-04 11:33:08.6465 17806/7f3ee377d700 age/Cor/App/Poo/Miscellaneous.cpp:49 ]: asyncGet(appGroupName=/usr/share/fk-portkey-ui (development))
[ 2019-04-04 11:33:08.6465 17806/7f3ee377d700 age/Cor/App/Poo/Miscellaneous.cpp:82 ]: Found existing Group
[ 2019-04-04 11:33:08.6465 17806/7f3ee377d700 age/Cor/App/Gro/SessionManagement.cpp:330 ]: Session checked out from process (pid=17919, group=/usr/share/fk-portkey-ui (development))
[ 2019-04-04 11:33:08.6465 17806/7f3ee377d700 age/Cor/App/Poo/Miscellaneous.cpp:87 ]: asyncGet() finished
[ 2019-04-04 11:33:08.6466 17806/7f3ee377d700 age/Cor/Con/CheckoutSession.cpp:141 ]: [Client 2-1] Session checked out: pid=17919, gupid=18b4b28-6arZBcyxcH
[ 2019-04-04 11:33:08.6466 17806/7f3ee377d700 age/Cor/App/Socket.h:90 ]: Connecting to unix:/tmp/passenger.eu5Ydsg/apps.s/ruby.L17rX6gElOyMNV21WxwSoR6el4rgqmYxvuympzlnp1uVbTmdKT002wc8UhxE9gs
[ 2019-04-04 11:33:08.6466 17806/7f3ee377d700 age/Cor/App/Socket.h:91 ]: File descriptor opened: 65
[ 2019-04-04 11:33:08.6467 17806/7f3ee377d700 age/Cor/App/Socket.h:95 ]: File descriptor purpose: 65: App 17919 connection
[ 2019-04-04 11:33:08.6467 17806/7f3ee377d700 age/Cor/App/Socket.h:177 ]: Socket unix:/tmp/passenger.eu5Ydsg/apps.s/ruby.L17rX6gElOyMNV21WxwSoR6el4rgqmYxvuympzlnp1uVbTmdKT002wc8UhxE9gs: there are now 1 total connections
[ 2019-04-04 11:33:08.6467 17806/7f3ee377d700 age/Cor/Con/CheckoutSession.cpp:209 ]: [Client 2-1] Session initiated: fd=65
[ 2019-04-04 11:33:08.6468 17806/7f3ee377d700 age/Cor/Con/SendRequest.cpp:88 ]: [Client 2-1] Sending headers to application with session protocol
[ 2019-04-04 11:33:08.6468 17806/7f3ee377d700 age/Cor/Con/SendRequest.cpp:185 ]: [Client 2-1] Header data: "\000\000\003\230REQUEST_URI\000/\000PATH_INFO\000/\000SCRIPT_NAME\000\000QUERY_STRING\000\000REQUEST_METHOD\000GET\000SERVER_NAME\00010.85.130.199\000SERVER_PORT\00028850\000SERVER_SOFTWARE\000Apache/2.4.10 (Debian) Phusion_Passenger/5.0.30\000SERVER_PROTOCOL\000HTTP/1.1\000REMOTE_ADDR\000172.20.96.208\000REMOTE_PORT\00060491\000PASSENGER_CONNECT_PASSWORD\000WScwGCRsjlFbMibc\000HTTP_USER_AGENT\000Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36\000HTTP_CACHE_CONTROL\000max-age=0\000HTTP_ACCEPT\000text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\000HTTP_ACCEPT_ENCODING\000gzip, deflate\000HTTP_ACCEPT_LANGUAGE\000en-US,en;q=0.9\000HTTP_COOKIE\000ext_name=jaehkpjddfdgiiefcnhahapilbejohhj\000HTTP_HOST\00010.85.130.199:28850\000HTTP_UPGRADE_INSECURE_REQUESTS\0001\000RAILS_RELATIVE_URL_ROOT\000\000SUPPLY_CHAIN_COMPANY\000b2b\000FLO_GEM_SERVER\000http://10.85.147.182/\000DEPLOY_ENV\000production\000NO_AUTH\000Y\000DISABLE_COMPANY_CHECK\000\000"
[ 2019-04-04 11:33:08.6469 17806/7f3ee377d700 age/Cor/Con/SendRequest.cpp:970 ]: [Client 2-1] No body to send to application
[ 2019-04-04 11:33:08.6469 17806/7f3ee377d700 age/Cor/Con/CheckoutSession.cpp:102 ]: [Client 2-1] Request refcount decreased; it is now 2
[ 2019-04-04 11:33:08.6470 17806/7f3ee377d700 Ser/HttpServer.h:711 ]: [Client 2-1] Request refcount decreased; it is now 1
[ 2019-04-04 11:33:08.6470 17806/7f3ee377d700 Ser/Server.h:500 ]: [Client 2-1] 1212 bytes of client data consumed in this callback
[ 2019-04-04 11:33:08.6470 17806/7f3ee377d700 Ser/Server.h:551 ]: [Client 2-1] Refcount decreased; it is now 2
App 17919 stderr: [ 2019-04-04 11:33:08.6473 17919/0x00007f1549321698(Worker 1) request_handler/thread_handler.rb:142 ]: Accepted new request on socket main socket
App 17919 stderr: [ 2019-04-04 11:33:08.6507 17919/0x00007f1549321698(Worker 1) utils.rb:87 ]: *** Exception NoMethodError in Rack application object (undefined method `>' for nil:NilClass) (process 17919, thread 0x00007f1549321698(Worker 1)):
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/formatted_rails_logger-0.1.0/lib/formatted_rails_logger/buffered_logger_inject.rb:18:in `add'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/activesupport-3.2.21/lib/active_support/tagged_logging.rb:55:in `add'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/activesupport-3.2.21/lib/active_support/tagged_logging.rb:61:in `info'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/railties-3.2.21/lib/rails/rack/logger.rb:27:in `call_app'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/railties-3.2.21/lib/rails/rack/logger.rb:16:in `block in call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/activesupport-3.2.21/lib/active_support/tagged_logging.rb:22:in `tagged'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/railties-3.2.21/lib/rails/rack/logger.rb:16:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/request_id.rb:22:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/rack-1.4.7/lib/rack/methodoverride.rb:21:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/rack-1.4.7/lib/rack/runtime.rb:17:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/activesupport-3.2.21/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/rack-1.4.7/lib/rack/lock.rb:15:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/static.rb:83:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/railties-3.2.21/lib/rails/engine.rb:484:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/railties-3.2.21/lib/rails/application.rb:231:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/railties-3.2.21/lib/rails/railtie/configurable.rb:30:in `method_missing'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/sc-core-1.2.20.authnewdc/lib/rack/transaction_tracer.rb:23:in `call'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
App 17919 stderr: 	from /usr/lib/ruby-flo/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/ruby_supportlib/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'
App 17919 stderr: [ 2019-04-04 11:33:08.6509 17919/0x00007f1549321698(Worker 1) request_handler/thread_handler.rb:172 ]: Request done.
[ 2019-04-04 11:33:08.6510 17806/7f3ee377d700 Ser/FdSourceChannel.h:55 ]: [Client 2-1] Request refcount increased; it is now 2
[ 2019-04-04 11:33:08.6511 17806/7f3ee377d700 age/Cor/Con/ForwardResponse.cpp:64 ]: [Client 2-1] Event: onAppSourceData
[ 2019-04-04 11:33:08.6511 17806/7f3ee377d700 age/Cor/Con/ForwardResponse.cpp:131 ]: [Client 2-1] Application sent EOF before finishing response headers
[ 2019-04-04 11:33:08.6511 17806/7f3ee377d700 age/Cor/Con/InternalUtils.cpp:112 ]: [Client 2-1] Sending 502 response: application did not send a complete response
[ 2019-04-04 11:33:08.6512 17806/7f3ee377d700 Ser/FileBufferedChannel.h:1415 ]: [FBC 0x25ea080] Feeding 223 bytes
[ 2019-04-04 11:33:08.6512 17806/7f3ee377d700 Ser/FileBufferedChannel.h:485 ]: [FBC 0x25ea080] pushBuffer() completed: nbuffers = 1, bytesBuffered = 223
[ 2019-04-04 11:33:08.6513 17806/7f3ee377d700 Ser/FileBufferedChannel.h:553 ]: [FBC 0x25ea080] Reader: reading next
[ 2019-04-04 11:33:08.6513 17806/7f3ee377d700 Ser/FileBufferedChannel.h:585 ]: [FBC 0x25ea080] Reader: found buffer, 223 bytes
[ 2019-04-04 11:33:08.6513 17806/7f3ee377d700 Ser/FileBufferedChannel.h:492 ]: [FBC 0x25ea080] popBuffer() completed: nbuffers = 0, bytesBuffered = 0
[ 2019-04-04 11:33:08.6514 17806/7f3ee377d700 Ser/FileBufferedChannel.h:593 ]: [FBC 0x25ea080] Reader: feeding buffer, 223 bytes
[ 2019-04-04 11:33:08.6514 17806/7f3ee377d700 Ser/FileBufferedChannel.h:553 ]: [FBC 0x25ea080] Reader: reading next
[ 2019-04-04 11:33:08.6514 17806/7f3ee377d700 Ser/FileBufferedChannel.h:560 ]: [FBC 0x25ea080] Reader: no more buffers. Transitioning to RS_INACTIVE
[ 2019-04-04 11:33:08.6515 17806/7f3ee377d700 Ser/FileBufferedChannel.h:538 ]: [FBC 0x25ea080] Calling dataFlushedCallback
[ 2019-04-04 11:33:08.6515 17806/7f3ee377d700 Ser/FileBufferedChannel.h:1415 ]: [FBC 0x25ea080] Feeding 54 bytes
[ 2019-04-04 11:33:08.6515 17806/7f3ee377d700 Ser/FileBufferedChannel.h:485 ]: [FBC 0x25ea080] pushBuffer() completed: nbuffers = 1, bytesBuffered = 54
[ 2019-04-04 11:33:08.6516 17806/7f3ee377d700 Ser/FileBufferedChannel.h:553 ]: [FBC 0x25ea080] Reader: reading next
[ 2019-04-04 11:33:08.6516 17806/7f3ee377d700 Ser/FileBufferedChannel.h:585 ]: [FBC 0x25ea080] Reader: found buffer, 54 bytes
[ 2019-04-04 11:33:08.6516 17806/7f3ee377d700 Ser/FileBufferedChannel.h:492 ]: [FBC 0x25ea080] popBuffer() completed: nbuffers = 0, bytesBuffered = 0
[ 2019-04-04 11:33:08.6516 17806/7f3ee377d700 Ser/FileBufferedChannel.h:593 ]: [FBC 0x25ea080] Reader: feeding buffer, 54 bytes
[ 2019-04-04 11:33:08.6517 17806/7f3ee377d700 Ser/FileBufferedChannel.h:553 ]: [FBC 0x25ea080] Reader: reading next
[ 2019-04-04 11:33:08.6517 17806/7f3ee377d700 Ser/FileBufferedChannel.h:560 ]: [FBC 0x25ea080] Reader: no more buffers. Transitioning to RS_INACTIVE
[ 2019-04-04 11:33:08.6518 17806/7f3ee377d700 Ser/FileBufferedChannel.h:538 ]: [FBC 0x25ea080] Calling dataFlushedCallback
[ 2019-04-04 11:33:08.6518 17806/7f3ee377d700 Ser/HttpServer.h:1136 ]: [Client 2-1] Ending request
[ 2019-04-04 11:33:08.6519 17806/7f3ee377d700 age/Cor/App/Socket.h:191 ]: Socket unix:/tmp/passenger.eu5Ydsg/apps.s/ruby.L17rX6gElOyMNV21WxwSoR6el4rgqmYxvuympzlnp1uVbTmdKT002wc8UhxE9gs: connection not checked back into connection pool. There are now 0 connections in total
[ 2019-04-04 11:33:08.6519 17806/7f3ee377d700 age/Cor/App/Socket.h:69 ]: File descriptor closed: 65
[ 2019-04-04 11:33:08.6519 17806/7f3ee377d700 age/Cor/App/Gro/SessionManagement.cpp:150 ]: Session closed for process (pid=17919, group=/usr/share/fk-portkey-ui (development))
[ 2019-04-04 11:33:08.6520 17806/7f3ee377d700 Ser/FileBufferedChannel.h:1459 ]: [FBC 0x7f3ed8000ee8] Deinitialize
[ 2019-04-04 11:33:08.6520 17806/7f3ee377d700 Ser/FileBufferedChannel.h:1415 ]: [FBC 0x25ea080] Feeding 0 bytes
[ 2019-04-04 11:33:08.6520 17806/7f3ee377d700 Ser/FileBufferedChannel.h:485 ]: [FBC 0x25ea080] pushBuffer() completed: nbuffers = 1, bytesBuffered = 0
[ 2019-04-04 11:33:08.6521 17806/7f3ee377d700 Ser/FileBufferedChannel.h:553 ]: [FBC 0x25ea080] Reader: reading next
[ 2019-04-04 11:33:08.6521 17806/7f3ee377d700 Ser/FileBufferedChannel.h:565 ]: [FBC 0x25ea080] Reader: EOF encountered. Feeding EOF
[ 2019-04-04 11:33:08.6522 17806/7f3ee377d700 Ser/FileBufferedChannel.h:581 ]: [FBC 0x25ea080] Reader: EOF fed. Transitioning to RS_TERMINATED
[ 2019-04-04 11:33:08.6522 17806/7f3ee377d700 Ser/FileBufferedChannel.h:538 ]: [FBC 0x25ea080] Calling dataFlushedCallback
[ 2019-04-04 11:33:08.6522 17806/7f3ee377d700 Ser/HttpServer.h:230 ]: [Client 2-1] Request refcount decreased; it is now 1
[ 2019-04-04 11:33:08.6523 17806/7f3ee377d700 Ser/HttpServer.h:238 ]: [Client 2-1] Not keeping alive connection, disconnecting client
[ 2019-04-04 11:33:08.6523 17806/7f3ee377d700 Ser/Server.h:961 ]: [Client 2-1] Disconnecting; there are now 0 active clients
[ 2019-04-04 11:33:08.6523 17806/7f3ee377d700 Ser/FileBufferedChannel.h:1459 ]: [FBC 0x25ea080] Deinitialize
[ 2019-04-04 11:33:08.6523 17806/7f3ee377d700 Ser/Server.h:971 ]: [Client 2-1] Closing client file descriptor: 64
[ 2019-04-04 11:33:08.6524 17806/7f3ee377d700 Ser/Server.h:974 ]: File descriptor closed: 64
[ 2019-04-04 11:33:08.6524 17806/7f3ee377d700 Ser/Server.h:982 ]: [Client 2-1] Refcount decreased; it is now 1
[ 2019-04-04 11:33:08.6525 17806/7f3ee377d700 Ser/FdSourceChannel.h:55 ]: [Client 2-1] Request refcount decreased; it is now 0
[ 2019-04-04 11:33:08.6524 17837/7fc87ffff700 FileDescriptor.h:84 ]: File descriptor closed: 19
[ 2019-04-04 11:33:08.6525 17806/7f3ee377d700 Ser/HttpServer.h:152 ]: [Client 2-1] Request object reached a reference count of 0
[ 2019-04-04 11:33:08.6525 17806/7f3ee377d700 Ser/HttpServer.h:160 ]: [Client 2-1] Request object added to freelist (0 -> 1)
[ 2019-04-04 11:33:08.6526 17806/7f3ee377d700 Ser/HttpServer.h:171 ]: [Client 2-1] Refcount decreased; it is now 0
[ 2019-04-04 11:33:08.6526 17806/7f3ee377d700 Ser/Server.h:396 ]: [Client 2-1] Client object reached a reference count of 0
[ 2019-04-04 11:33:08.6526 17806/7f3ee377d700 Ser/Server.h:402 ]: [Client 2-1] Client object added to freelist (127 -> 128)
[ 2019-04-04 11:33:10.0002 17806/7f3ef5b71700 age/Cor/App/Poo/AnalyticsCollection.cpp:157 ]: Analytics collection time...
[ 2019-04-04 11:33:10.0003 17806/7f3ef5b71700 age/Cor/App/Poo/AnalyticsCollection.cpp:184 ]: Collecting process metrics
[ 2019-04-04 11:33:10.0004 17806/7f3ef5b71700 Utils.cpp:1039 ]: File descriptor opened: 64
[ 2019-04-04 11:33:10.0004 17806/7f3ef5b71700 Utils.cpp:1039 ]: File descriptor opened: 65
[ 2019-04-04 11:33:10.0014 17814/7f39aea4e700 Ser/Server.h:597 ]: [UstRouterApiServer] Updating statistics
[ 2019-04-04 11:33:10.0015 17814/7f39af24f700 Ser/Server.h:597 ]: [UstRouter] Updating statistics
[ 2019-04-04 11:33:10.0018 17806/7f3ee377d700 Ser/Server.h:597 ]: [ServerThr.2] Updating statistics
[ 2019-04-04 11:33:10.0019 17806/7f3ef5b71700 FileDescriptor.h:94 ]: File descriptor closed: 65
[ 2019-04-04 11:33:10.0020 17803/7f700e343700 Ser/Server.h:597 ]: [WatchdogApiServer] Updating statistics
[ 2019-04-04 11:33:10.0021 17806/7f3ee3fff700 age/Cor/Con/TurboCaching.h:245 ]: Clearing turbocache
[ 2019-04-04 11:33:10.0022 17806/7f3ee3fff700 Ser/Server.h:597 ]: [ServerThr.1] Updating statistics
[ 2019-04-04 11:33:10.0022 17806/7f3ee0cf3700 Ser/Server.h:597 ]: [ApiServer] Updating statistics
[ 2019-04-04 11:33:10.0043 17806/7f3ee1df7700 age/Cor/Con/TurboCaching.h:245 ]: Clearing turbocache
[ 2019-04-04 11:33:10.0044 17806/7f3ee1df7700 Ser/Server.h:597 ]: [ServerThr.5] Updating statistics
[ 2019-04-04 11:33:10.0046 17806/7f3ee2679700 age/Cor/Con/TurboCaching.h:245 ]: Clearing turbocache
[ 2019-04-04 11:33:10.0046 17806/7f3ee2679700 Ser/Server.h:597 ]: [ServerThr.4] Updating statistics
[ 2019-04-04 11:33:10.0049 17806/7f3ee2efb700 age/Cor/Con/TurboCaching.h:245 ]: Clearing turbocache
[ 2019-04-04 11:33:10.0050 17806/7f3ee2efb700 Ser/Server.h:597 ]: [ServerThr.3] Updating statistics
[ 2019-04-04 11:33:10.0050 17806/7f3ee1575700 age/Cor/Con/TurboCaching.h:245 ]: Clearing turbocache
[ 2019-04-04 11:33:10.0050 17806/7f3ee1575700 Ser/Server.h:597 ]: [ServerThr.6] Updating statistics
[ 2019-04-04 11:33:10.0137 17806/7f3ef5b71700 FileDescriptor.h:94 ]: File descriptor closed: 64
[ 2019-04-04 11:33:10.0207 17806/7f3ef5b71700 Uti/ScopeGuard.h:114 ]: File descriptor closed: 64
[ 2019-04-04 11:33:10.0208 17806/7f3ef5b71700 age/Cor/App/Poo/AnalyticsCollection.cpp:192 ]: Collecting system metrics
[ 2019-04-04 11:33:10.0209 17806/7f3ef5b71700 Uti/ScopeGuard.h:114 ]: File descriptor closed: 64
[ 2019-04-04 11:33:10.0211 17806/7f3ef5b71700 Uti/ScopeGuard.h:114 ]: File descriptor closed: 64
[ 2019-04-04 11:33:10.0213 17806/7f3ef5b71700 Uti/ScopeGuard.h:114 ]: File descriptor closed: 64
[ 2019-04-04 11:33:10.0215 17806/7f3ef5b71700 age/Cor/App/Poo/AnalyticsCollection.cpp:69 ]: Analytics collection done; next analytics collection in 4.978 sec

yashwinkumar avatar Apr 04 '19 06:04 yashwinkumar

The formatted_rails_logger gem is calling > on a nil variable in the rack application object, which is not a valid operator. This isn't a passenger issue.

CamJN avatar Apr 04 '19 15:04 CamJN