openshift


Multiple HAProxy instances on OpenShift


I have an application (Node.JS) deployed on OpenShift (bronze plan) with the Web Load Balancer activated, the minimum gears active are 3 and the max are 16.
Sometimes in the main gear I can see more than one HAProxy instance running, for example now I have:
> ps -ef|grep /usr/sbin/haproxy
3505 37488 1 1 08:46 ? 00:00:01 /usr/sbin/haproxy -f /var/lib/openshift/<APP_ID>/haproxy//conf/haproxy.cfg -sf 37237
3505 149643 1 1 May28 ? 00:09:08 /usr/sbin/haproxy -f /var/lib/openshift/<APP_ID>/haproxy//conf/haproxy.cfg -sf 114873
looking the logs I can't any error. Any explanation about this?
Thanks!
This could be a consequence of executing Haproxy reload script (/etc/init.d/haproxy). This will usually create a new haproxy process to accept new connections. It will also keep the old process alive until there are still open connections to it. Once they are closed, old haproxy process will be terminated.

Related Links

tests for a downloadable OpenShift cartridge
Can dependencies be installed with yum in .openshift/action_hooks/build?
How long with no traffic before an Openshift gear goes idle?
Deploy a sub-directory from Travis CI to OpenShift
Haproxy issue with Openshift
OpenShift Error: CLIENT_ERROR: WSGI application was not found [closed]
Unable to access website hosted on openshift from united state
Disk quota exceeded - can't run “rhc app-tidy”
Rebuild openshift cartridge without deleting app
FreePascal & OpenShift
OpenShift custom domain sometimes returns 404
Openshift database gets truncated
How do you find the cartridge short names in Openshift?
Openshift access to phpMyAdmin?
Openshift domain shows instead of desired domain
JDK 8 support at DIY cartridge in OpenShift

Categories

HOME
opencart
windows-8.1
angular-ui-grid
bokeh
plaid
ews
iverilog
bing-search
jersey-2.0
moodle-api
ontology
scheduler
wine
xades4j
business-intelligence
smartgwt
twisted
pinterest
fosuserbundle
gmp
cloudsim
maven-surefire-plugin
pyopencl
function-points
mdns
amazon-iam
phpstorm-2016.1
netbios
mongodb-3.4
sca
sql-execution-plan
buildforge
textmate2
numerics
cartopy
extbase
distributed-caching
opal-framework
coverage.py
google-prediction
dbcc
section508
android-5.0-lollipop
xcglogger
sigsegv
exc-bad-access
clrs
lvalue
polymaps
http4s
maatwebsite-excel
nvda
callouts
meld
noclassdeffounderror
android-async-http
smart-tv
variable-length-array
green-threads
ampersand
sql-processor
directorysearcher
symja
cout
nesper
aho-corasick
treeline
ax
ldif
statechart
semicolon
clearinterval
cakeyframeanimation
zotonic
series-40
drawimage
nosetests
git-log
turbine
android-2.1-eclair
tessellation
uninstaller
fgetc
facebook-fbml
tso
twitter-feed
datagridcolumn
isapi-redirect

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App