-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Real running apps do not match apps in config Unit #1514
Comments
After systemctl restart unit {
"certificates": {},
"js_modules": {},
"config": {
"listeners": {
"*:8003": {
"application": "InternetApteka.offset_744.2024-12-17_14-40-01"
},
"*:8004": {
"application": "holdout-prod"
},
"*:8001": {
"application": "personal-promo-prod"
}
},
"routes": [],
"applications": {
"holdout-prod": {
"type": "perl",
"processes": 16,
"script": "/SmCh/PP/unit/holdout/prod/holdout.psgi"
},
"personal-promo-prod": {
"type": "perl",
"processes": 16,
"script": "/SmCh/PP/unit/personal-promo/prod/personal-promo.psgi"
},
"InternetApteka.offset_744.2024-12-17_14-40-01": {
"processes": 8,
"script": "./bin/unit-ia.psgi",
"type": "perl",
"working_directory": "/SmCh/IA/bin/..",
"environment": {
"SMCH_ROOT": "/SmCh/IA/bin/..",
"appName": "InternetApteka.offset_744.2024-12-17_14-40-01"
}
}
}
},
"status": {
"modules": {
"perl": {
"version": "5.32.1",
"lib": "/usr/lib/unit/modules/perl.unit.so"
}
},
"connections": {
"accepted": 4437,
"active": 0,
"idle": 8,
"closed": 4429
},
"requests": {
"total": 7981
},
"applications": {
"holdout-prod": {
"processes": {
"running": 16,
"starting": 0,
"idle": 16
},
"requests": {
"active": 0
}
},
"personal-promo-prod": {
"processes": {
"running": 16,
"starting": 0,
"idle": 16
},
"requests": {
"active": 0
}
},
"InternetApteka.offset_744.2024-12-17_14-40-01": {
"processes": {
"running": 8,
"starting": 0,
"idle": 8
},
"requests": {
"active": 0
}
}
}
}
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
I execute ./unit-bug.sh in my server.
Pay special attention to the app InternetApteka.offset_734.2024-12-16_00-00-01
P.S. This could probably be related to using
"http:$self->{sockPath}//control/applications/$app/restart"
curl --silent --unix-socket /var/run/control.unit.sock 'http://localhost/'
To kill:
After kill:
The text was updated successfully, but these errors were encountered: