ROBOT 发表于 2025-12-17 21:40:45

数据库太大,3.4升3.5出错。 New

数据库有10多G,3.4升3.5的时候。在进入pre_forum_post这个表的时候。等好久没反应最后就出现“504 Gateway Time-out”这个错误提示。
我把nginx配置文件中下面几个时间参数设置到900秒了。还是不行。



plain



请问各位大佬有什么解决办法。感谢感谢!💔


我知道答案 回答被采纳将会获得1 贡献 已有4人回答

霸王别姬 发表于 2025-12-17 21:41:07

如果尝试升级失败了,可以有偿帮忙处理。

yusr 发表于 2025-12-17 21:41:39

php也要调呢!
建议调成 不限制!

需要的话 我这边也可以有偿帮忙升级哦!

小冰 发表于 2025-12-17 21:42:21

plain
         
   

   .ce-block {   margin-bottom: 20px; } .ce-block__content,.ce-toolbar__content {         /* max-width:calc(100% - 50px) */         margin-left: auto;         margin-right: auto;         position: relative; }.editorjs-codeFlask_Wrapper {         height: 300px;         border: 1px solid #dcdfe6;         border-radius: 5px;         background-color: #f0f2f5;         margin-bottom: 10px; }.editorjs-codeFlask_Wrapper .codeflask {         border-radius: 5px;         background: none; }   .editorjs-codeFlask_Wrapper .editorjs-codeFlask_LangDisplay {         position: absolute;         height: 20px;         line-height: 20px;         font-size: 12px;         color: #999;         background-color: #dcdfe6;         padding: 10px 25px 20px 10px;         right: 0;         bottom: 0;         border-bottom-right-radius: 5px;         border-top-left-radius: 5px; }.editorjs-codeFlask_Wrapper .codeflask.codeflask--has-line-numbers:before{         background-color: #dcdfe6; }   .codeflask {         position: absolute;         width: 100%;         height: 100%;         overflow: hidden; }    .codeflask, .codeflask * {   box-sizing: border-box;   }    .codeflask__pre {   pointer-events: none;   z-index: 3;   overflow: hidden;          max-width: 100%;   white-space: pre-wrap;   word-break: break-all;   overflow-wrap: break-word;   padding: 10px 20px 10px 10px;   border: 1px solid rgb(238, 238, 238);   }    .codeflask__textarea {   background: none;   border: none;   color: #fff;   resize: none;   font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;   -webkit-appearance: pre;   caret-color: #111;   z-index: 2;   width: 100%;   height: 100%;          max-width: 100%;   white-space: pre-wrap;   word-break: break-all;   overflow-wrap: break-word;   padding: 10px;   }    .codeflask--has-line-numbers .codeflask__textarea {   width: calc(100% - 40px);   }    .codeflask__code {   display: block;   font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;   overflow: hidden;   }    .codeflask__flatten {   /* padding: 10px; */   font-size: 13px;   line-height: 20px;   /* white-space: pre; */   position: absolute;   top: 0;   left: 0;   overflow: auto;   margin: 0 !important;   outline: none;   text-align: left;   }    .codeflask--has-line-numbers .codeflask__flatten {   width: calc(100% - 40px);   left: 40px;   }    .codeflask__line-highlight {   position: absolute;   top: 10px;   left: 0;   width: 100%;   height: 20px;   background: rgba(0,0,0,0.1);   z-index: 1;   }    .codeflask__lines {   padding: 10px 4px;   font-size: 12px;   line-height: 20px;   font-family: 'Cousine', monospace;   position: absolute;   left: 0;   top: 0;   width: 40px;   height: 100%;   text-align: right;   color: #999;   z-index: 2;   }    .codeflask__lines__line {   display: block;   }    .codeflask.codeflask--has-line-numbers {   padding-left: 40px;   }    .codeflask.codeflask--has-line-numbers:before {   content: '';   position: absolute;   left: 0;   top: 0;   width: 40px;   height: 100%;   background: #eee;   z-index: 1;   }   .inline-code {   background: rgba(250, 239, 240, 0.78);   color: #b44437;   padding: 3px 4px;   border-radius: 5px;   margin: 0 1px;   font-family: inherit;   font-size: 0.86em;   font-weight: 500;   letter-spacing: 0.3px; }
页: [1]
查看完整版本: 数据库太大,3.4升3.5出错。 New