nginx-clojure / nginx-clojure/nginx-clojure
Coroutine based ,Get a User Defined Class Waving Configuration File ,An error occurred
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
Enable Coroutine based Client Socket
Get a User Defined Class Waving Configuration File for Your Web App
My system is windows 10。
nginx.conf The file contains the following settings。
jvm_options "-javaagent:jars/nginx-clojure-0.5.2.jar=tmb";
jvm_options "-Xbootclasspath/a:jars/nginx-clojure-0.5.2.jar";
jvm_options "-Dnginx.clojure.wave.CfgToolOutFile=/tmp/my-wave-cfg.txt";
After start nginx-win64, the following error is displayed
2021/03/21 10:01:55 [error] 12560#6640: jvm may be mad for wrong options! See hs_err_pid****.log for detail! restarted 2
2021/03/21 10:01:55 [error] 12560#6640: we try quit master now!
2021/03/21 10:01:55 [crit] 12560#6640: ngx_http_clojure_quit_master, file ("D:\1\nginx-clojure-0.5.2\nginx-win64.exe"), arg ("nginx-win64 -s stop")
2021/03/21 10:01:56 [error] 11224#9896: jvm may be mad for wrong options! See hs_err_pid****.log for detail! restarted 3
2021/03/21 10:01:56 [error] 11224#9896: we try quit master now!
2021/03/21 10:01:56 [crit] 11224#9896: ngx_http_clojure_quit_master, file ("D:\1\nginx-clojure-0.5.2\nginx-win64.exe"), arg ("nginx-win64 -s stop")
2021/03/21 10:01:56 [error] 8436#7560: CreateFile() "D:\1\nginx-clojure-0.5.2/logs/nginx.pid" failed (2: The system cannot find the file specified)
My system is windows, coroutine, saving configuration file. How can I write it correctly?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with nginx.conf and the Windows startup error output, checking the three jvm_options entries and the referenced nginx-clojure-0.5.2.jar. Reproduce the coroutine configuration-file startup on Windows 10 and inspect the hs_err_pid****.log details. Done means nginx starts without repeated JVM failures and writes the requested wave configuration file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, java, nginx
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100