dignfei

Results 14 issues of dignfei

数据不应该被序列化。被序列化会影响性能,很大的影响实用性。当线程之间需要共享小数据可以使用redis等,不需要这个。当线程之间需要共享大型的数据(比如占用内存1Gb的数组),就需要共享的时候不序列化,能直接共享

碉堡了,什么时候恢复、、??

屌炸天了!为什么不做了, 做出来可以称霸世界

我的服务器是64核心的, 我有64个线程并发访问,但是只能跑满16个cpu,其他cpu全部空闲,怎么解决这个问题? 我找到了创建线程的代码,发现并没有限制线程数量: private Executors() { mService = java.util.concurrent.Executors.newCachedThreadPool(); mHandler = new Handler(Looper.getMainLooper()); }

enhancement

因为电脑是128核心,docker版本的kuboard会自动设置nginx的配置,无法修改进程数,导致进程数默认128个,占用内存5gb,太大了

宿主机ip 192.168.188.88 php容器映射端口 9138:9138 php容器内运行php8: $gateway->lanIp = "127.0.0.1";能正常访问, ![image](https://user-images.githubusercontent.com/25482706/219432125-ddf69044-d9df-4da6-ad85-2ce3a8738f31.png) 改为'192.168.188.88'; 就会报错: ![image](https://user-images.githubusercontent.com/25482706/219432178-cf8b20ca-38af-4a30-b9b0-fa86e8d85ea4.png)

**问题描述 / Problem Description** 用简洁明了的语言描述这个问题 / Describe the problem in a clear and concise manner. **复现问题的步骤 / Steps to Reproduce** 1. 执行 'python startup.py -a' 2. 点击 '提问:你是谁' 3. 问题出现...

bug

文件比较多时,要运行几十个小时,一旦出错或者意外终止,数据库就损害了要重新生成。这里每处理100个重新保存一下

size:XS

宿主机ip 192.168.188.88 php容器映射端口 9138:9138 php容器内运行php8: $gateway->lanIp = "127.0.0.1";能正常访问, ![image](https://user-images.githubusercontent.com/25482706/219431493-924c3934-ebc2-447d-9d1c-3eb4d92a12f7.png) 改为'192.168.188.88'; 就会报错: ![image](https://user-images.githubusercontent.com/25482706/219431615-caf0cf48-4dba-46ed-8517-f868da6b6cc9.png)