Failed to Start tidb-service

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb-service 启动失败

| username: TiDBer_brSdlDCV

The log shows

| username: tidb菜鸟一只 | Original post link

Single machine environment test? Check if the host resources are exhausted…

| username: 啦啦啦啦啦 | Original post link

Is it the first time starting up? Check if there’s enough disk space~

| username: TiDBer_brSdlDCV | Original post link

Yes, for the first startup, generally, how much disk space is required at a minimum?

| username: TiDBer_brSdlDCV | Original post link

Yes, there is not much disk space left.

| username: zhanggame1 | Original post link

Single-node deployment can deploy only one TiKV, which can save a lot of resources.

| username: 大飞哥online | Original post link

This is for the development and testing environment.

| username: 大飞哥online | Original post link

You can take a look at this: TiDB 软件和硬件环境建议配置 | PingCAP 文档中心

| username: TiDBer_vfJBUcxl | Original post link

I saw a situation where the /tmp directory being too small can cause it to fail to start.

The /tmp directory is too small, set global tidb_ddl_disk_quota to a value smaller than the tmp space.

| username: TiDBer_brSdlDCV | Original post link

Okay, I’ll give it a try.

| username: redgame | Original post link

Insufficient resources.