teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

ログの追加

2020/04/01 00:47

投稿

LungTel
LungTel

スコア4

title CHANGED
File without changes
body CHANGED
@@ -5,4 +5,46 @@
5
5
  アプリ起動時に下記のようなエラーが発生します。
6
6
  [wsgi:error] [pid 12952:tid 1488] Using selector: SelectSelector\r
7
7
 
8
- 解決方法が知りたいです。
8
+ 解決方法が知りたいです。
9
+ Apache(×)だと
10
+ Using selector: SelectSelector\r
11
+ djangoのみ(〇)だと
12
+ Using selector: SelectSelector
13
+ 違いなのですが...
14
+
15
+ 実行コマンドは下記です。
16
+ c:\Apache24\bin\httpd.exe -d C:/Apache24
17
+
18
+ 下記、Apacheのerrorログになります。【シャットダウンしてから~起動】
19
+ [Wed Apr 01 09:16:11.573881 2020] [mpm_winnt:notice] [pid 14804:tid 976] AH00422: Parent: Received shutdown signal -- Shutting down the server.
20
+ [Wed Apr 01 09:16:41.574530 2020] [mpm_winnt:notice] [pid 14804:tid 976] AH00431: Parent: Forcing termination of child process 15976
21
+ [Wed Apr 01 09:17:56.170620 2020] [mpm_winnt:notice] [pid 17836:tid 880] AH00455: Apache/2.4.41 (Win32) mod_wsgi/4.7.1 Python/3.6 configured -- resuming normal operations
22
+ [Wed Apr 01 09:17:56.173121 2020] [mpm_winnt:notice] [pid 17836:tid 880] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:32:28
23
+ [Wed Apr 01 09:17:56.173121 2020] [core:notice] [pid 17836:tid 880] AH00094: Command line: 'c:\Apache24\bin\httpd.exe -d C:/Apache24'
24
+ [Wed Apr 01 09:17:56.286263 2020] [mpm_winnt:notice] [pid 17836:tid 880] AH00418: Parent: Created child process 12952
25
+ [Wed Apr 01 09:17:56.922791 2020] [mpm_winnt:notice] [pid 12952:tid 992] AH00354: Child: Starting 64 worker threads.
26
+ [Wed Apr 01 09:19:00.860115 2020] [wsgi:error] [pid 12952:tid 1488] **Using selector: SelectSelector\r
27
+ **
28
+
29
+
30
+ ※補足
31
+ vsでdjangoのみで実行する際は、下記コマンドを実行しています。
32
+ python manage.py runserver
33
+
34
+ 【Terminalに出力されたもの】
35
+ **Using selector: SelectSelector**
36
+ Using selector: SelectSelector
37
+ Watching for file changes with StatReloader
38
+ Watching for file changes with StatReloader
39
+ Performing system checks...
40
+
41
+ System check identified no issues (0 silenced).
42
+ (0.000)
43
+ SELECT name, type FROM sqlite_master
44
+ WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
45
+ ORDER BY name; args=None
46
+ (0.000) SELECT "django_migrations"."id", "django_migrations"."app", "django_migrations"."name", "django_migrations"."applied" FROM "django_migrations"; args=()
47
+ April 01, 2020 - 09:27:21
48
+ Django version 3.0.4, using settings 'connects.settings'
49
+ Starting development server at http://127.0.0.1:8000/
50
+ Quit the server with CTRL-BREAK