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
FBSVCMGR with action_trace_start
prevents in 3.0 SuperServer from connecting using local protocol [CORE4889]
#5183
Comments
Commented by: @pavel-zotov PS. trace config: database = log_statement_finish = true } |
Modified by: @hvladassignee: Vlad Khorsun [ hvlad ] |
Commented by: @hvlad The issue 1. fbsvcmgr localhost/3333:service_mgr 2. isql /var/db/fb30/e30.fdb 3. fbserver Trace Storage Mutex is already hold by isql (2b), therefore we have livelock condition: |
Commented by: @hvlad Stack traces 1. isql 2. fbserver |
Modified by: @hvladFix Version: 3.0 RC 1 [ 10584 ] summary: FBSVCMGR with `action_trace_start` prevents in 3.0 SuperServer from connecting using local protocol (in particularly, prevents from doing NBACKUP) => FBSVCMGR with `action_trace_start` prevents in 3.0 SuperServer from connecting using local protocol Component: NBACKUP [ 10007 ] => Component: SVCMGR [ 10141 ] => |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: No test => Done successfully Test Specifics: [Architecture (SS/CS) specific] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] Test Specifics: [Architecture (SS/CS) specific] => [Architecture (SS/CS) specific, Platform (Windows/Linux) specific] Test Details: Refactored 08-jan-2016. No need to use NBackup - see comments inside .fbt. |
Submitted by: @pavel-zotov
window #1:
launch fbsvcmgr in order to trace FB 3.0 SS activity:
/opt/fb30ss/bin/fbsvcmgr localhost/3333:service_mgr user SYSDBA password masterke action_trace_start trc_cfg ./fb30ss_trace.conf
window #2:
Doing with isql only:
game-1:
~~~~~~
/opt/fb30ss/bin/isql localhost/3333:/var/db/fb30/e30.fdb -- OK, it works
quit;
/opt/fb30ss/bin/isql /var/db/fb30/e30.fdb -- OK, it works
Now restart FB and launch again fbsvcmgr in session #1, than return to window #2 and continue:
game-2:
~~~~~~~
/opt/fb30ss/bin/isql /var/db/fb30/e30.fdb
Result: isql will HANG (no matter of was messages about detaching from sec3.fdb appeared in trace window or no).
Now restart FB and launch again fbsvcmgr in session #1, than return to window #2 and continue.
Doing with nbackup (which should use only LOCAL protocol, otherwise we get "PROBLEM ON "nbackup needs local access to database file" / SQLCODE:-999"):
game-3:
~~~~~~~
/opt/fb30ss/bin/nbackup -b 0 /var/db/fb30/e30.fdb ./tmpnbk.nbk0
Result: nbackup will HANG.
This occur only when FB-3 runs in SS architecture.
Commits: 363c0fa FirebirdSQL/fbt-repository@c9edb36
====== Test Details ======
Refactored 08-jan-2016. No need to use NBackup - see comments inside .fbt.
The text was updated successfully, but these errors were encountered: