找回密码
 立即注册

QQ登录

只需一步,快速开始

ufoxiaoyuer

金牌服务用户

21

主题

45

帖子

188

积分

金牌服务用户

积分
188
ufoxiaoyuer
金牌服务用户   /  发表于:2023-2-8 10:08  /   查看:825  /  回复:1
1金币
ForguncyServerConsole Information: 0 : Start Trace for dotnet commandline :/opt/ForguncySites/ForguncyServerSiteStaticFiles/8.0.102.0/bin/ForguncyServerConsole.dll http://localhost.localdomain:8086/plan-mobile /opt/ForguncySites/ForguncyServer/plan-mobile 127651 2851fef0-08b4-4006-ad40-502e07dd83d5 False ""
Tid:1 2023-2-8 上午9:59:55: ForguncyServer Starting:=> ["http://localhost.localdomain:8086/plan-mobile","/opt/ForguncySites/ForguncyServer/plan-mobile","127651","2851fef0-08b4-4006-ad40-502e07dd83d5","False",""]
Tid:1 2023-2-8 上午9:59:55: Current InstallLang: cn
Tid:1 2023-2-8 上午9:59:55: ResourceHelper.Init:cn
Tid:1 2023-2-8 上午9:59:55: ["http://localhost.localdomain:8086/plan-mobile","/opt/ForguncySites/ForguncyServer/plan-mobile","127651","2851fef0-08b4-4006-ad40-502e07dd83d5","False",""]
Tid:1 2023-2-8 上午9:59:55: ForguncyServer Starting: http://localhost.localdomain:8086/plan-mobile
Tid:1 2023-2-8 上午9:59:55: InitCache
Tid:1 2023-2-8 上午9:59:55: InitCache path:/opt/ForguncySites/ForguncyServer/plan-mobile/CustomApi
Tid:1 2023-2-8 上午9:59:55: AddAssembly
Tid:1 2023-2-8 上午9:59:55: _apiList:[]
Tid:1 2023-2-8 上午9:59:55: 2023-02-08T09:59:55.3608519+08:00 ----------- InitialServerInfosAsync
Tid:1 2023-2-8 上午9:59:55: InitialServerInfos
Tid:1 2023-2-8 上午9:59:55: infoStr.length:70112
Tid:1 2023-2-8 上午9:59:55: Init ServerInfo
Tid:1 2023-2-8 上午9:59:55: Assembly: ForguncyServerConsole, Version=8.0.102.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
  "ClassName": "System.IO.IOException",
  "Message": "The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.IO.FileSystemWatcher.StartRaisingEvents()
   at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
   at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value)
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher()
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter)
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(String filter)
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.<.ctor>b__1_0()
   at Microsoft.Extensions.Primitives.ChangeToken.OnChange(Func`1 changeTokenProducer, Action changeTokenConsumer)
   at Microsoft.Extensions.Configuration.FileConfigurationProvider..ctor(FileConfigurationSource source)
   at Microsoft.Extensions.Configuration.Json.JsonConfigurationSource.Build(IConfigurationBuilder builder)
   at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
   at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
   at Microsoft.Extensions.Hosting.HostBuilder.Build()
   at Forguncy.ForguncyServerCommon.ProgramBase.DoStartServerAction(String baseAddress, List`1 urls, Action`1 action)
   at ForguncyServerConsole.a.a(String A_0, List`1 A_1)
   at ForguncyServerConsole.a.<>c.a(String A_0, List`1 A_1)
   at Forguncy.ForguncyServerCommon.ProgramBase.StartServerAction(String baseAddress, Action`2 action)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": 24,
  "Source": "System.IO.FileSystem.Watcher",
  "WatsonBuckets": null
}

CurrentMethodName: StartServerAction
Tid:1 2023-2-8 上午9:59:55: StartServer ThrowException again
Tid:1 2023-2-8 上午9:59:55: http://*:8086
Tid:1 2023-2-8 上午9:59:55: Assembly: ForguncyServerConsole, Version=8.0.102.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
  "ClassName": "System.IO.IOException",
  "Message": "The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.IO.FileSystemWatcher.StartRaisingEvents()
   at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
   at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value)
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher()
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter)
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(String filter)
   at CommonUtilities.LogHelper.LogExtension.WatchLogConfigFile(PhysicalFileProvider logConfigFileProvider)
   at CommonUtilities.LogHelper.LogExtension.WatchLogConfigFile()
   at CommonUtilities.LogHelper.LogExtension.InitHttpServerLogConfig(IHostBuilder builder)
   at Forguncy.ForguncyServerCommon.ProgramBase.DoStartServerAction(String baseAddress, List`1 urls, Action`1 action)
   at ForguncyServerConsole.a.a(String A_0, List`1 A_1)
   at ForguncyServerConsole.a.<>c.a(String A_0, List`1 A_1)
   at Forguncy.ForguncyServerCommon.ProgramBase.StartServerAction(String baseAddress, Action`2 action)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": 24,
  "Source": "System.IO.FileSystem.Watcher",
  "WatsonBuckets": null
}

CurrentMethodName: StartServerAction
Tid:1 2023-2-8 上午9:59:55: StartServer ThrowException again, url: http://*:8086
Tid:1 2023-2-8 上午9:59:55: Assembly: ForguncyServerConsole, Version=8.0.102.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
  "ClassName": "System.IO.IOException",
  "Message": "The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.IO.FileSystemWatcher.StartRaisingEvents()
   at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
   at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value)
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher()
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter)
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(String filter)
   at CommonUtilities.LogHelper.LogExtension.WatchLogConfigFile(PhysicalFileProvider logConfigFileProvider)
   at CommonUtilities.LogHelper.LogExtension.WatchLogConfigFile()
   at CommonUtilities.LogHelper.LogExtension.InitHttpServerLogConfig(IHostBuilder builder)
   at Forguncy.ForguncyServerCommon.ProgramBase.DoStartServerAction(String baseAddress, List`1 urls, Action`1 action)
   at ForguncyServerConsole.a.a(String A_0, List`1 A_1)
   at ForguncyServerConsole.a.<>c.a(String A_0, List`1 A_1)
   at Forguncy.ForguncyServerCommon.ProgramBase.StartServerAction(String baseAddress, Action`2 action)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": 24,
  "Source": "System.IO.FileSystem.Watcher",
  "WatsonBuckets": null
}

CurrentMethodName: StartServerAction
Tid:1 2023-2-8 上午9:59:55: ForguncyServerConsole /opt/ForguncySites/ForguncyServer/plan-mobile is exited


最佳答案

查看完整内容

执行一下这个命令, echo fs.inotify.max_user_instances=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p 然后重启一下活字格服务。

1 个回复

倒序浏览
最佳答案
最佳答案
David.Zhong讲师达人认证 悬赏达人认证 活字格认证
论坛元老   /  发表于:2023-2-8 10:08:39
来自 2#
执行一下这个命令,

echo fs.inotify.max_user_instances=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

然后重启一下活字格服务。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部