1. 17 Aug, 2021 1 commit
  2. 04 Aug, 2021 1 commit
  3. 03 Aug, 2021 2 commits
    • Felix Delattre's avatar
      c683c556
    • David Hummel's avatar
      Added build & test on CentOS 7 · 4ea8729e
      David Hummel authored
      * Requires building `Mapnik`
        * Which requires these `EPEL` repository packages
          * `boost169-devel` + dependencies
          * `gdal-devel` + dependencies
          * `proj-devel` + dependencies
      * Caches `Mapnik` build directory
        * Takes about 20-30 minutes without cache
        * Takes about 5-10 minutes with cache
      * Runs on `push` to `centos7` branch & `pull_request`
      * Includes very basic build documentation
      4ea8729e
  4. 02 Aug, 2021 3 commits
  5. 30 Jul, 2021 6 commits
  6. 29 Jul, 2021 1 commit
  7. 28 Jul, 2021 2 commits
    • Felix Delattre's avatar
      Easier installation instructions · f28cda99
      Felix Delattre authored
      f28cda99
    • David Hummel's avatar
      Logging Improvements · a14924a9
      David Hummel authored
      * Using [`GLib Logging Framework`](https://developer.gnome.org/programming-guidelines/stable/logging.html.en) for logging
        * Created new `g_logger` function for logging
          * Outputs to `stdout`/`stderr` only when running in `foreground`
            * `stderr` for `message`, `warning`, `critical` & `error` levels
            * `stdout` for `debug` & `info` levels
              * Use `G_MESSAGES_DEBUG=all` environment to enable `debug` to print
          * Otherwise, output will be to `syslog` or `systemd journal` (when appropriate)
      * Standardized usage of `{LOG_PRIORITY}: ` prefix in log messages
        * Only when using `syslog`, otherwise `GLib Logging` will take care of it
      * Changed `fprintf(stderr`, `printf` & `perror` calls to `g_logger` calls
        * You might want to check them out closely to make sure I chose the right levels
        * No changes to `logging/output` were made to "`foreground`" programs (I.E. `render_*`)
      * Changed `0`,`1` to `no_argument`,`required_argument` in `getopt_long`'s `long_options`
        * Fixed `renderd`'s `foreground` opt (should be `no_argument` [0] rather than `reguired_argument` [1])
      * Basic test for `mod_tile` module
      * ~~Extended `renderd` log priority onto Mapnik's logger~~
      a14924a9
  8. 27 Jul, 2021 2 commits
  9. 20 Jul, 2021 1 commit
  10. 14 Jul, 2021 1 commit
  11. 13 Jul, 2021 3 commits
    • Tom Hughes's avatar
    • Stephan's avatar
      include details in error log message · a9e49577
      Stephan authored
      Be a bit more verbose in case of errors, to make finding the root cause easier
      a9e49577
    • Rainer Jung's avatar
      Replace select() by poll(). · 891ed80a
      Rainer Jung authored
      select() has a well-known limit and the maximum file descriptor
      that can be used (FD_SETSIZE). On Linux it is in most cases 1024.
      
      Our renderd uses a lot of planet tiff files, so it had already
      more than 1600 FDs for tiff files open. That means any new FD gets a
      number bigger than that and using such FDs in select() leads to crashes
      (because select() uses a fixed size bitmap).
      
      The same can happen in mod_tile if the surounding web server is very
      busy, altough it is less likely to happen there.
      
      Changes in src/mod_tile.c:
      - include poll.h
      - poll timeout is an int containing miliseconds
      - use "s > 0" instead of "s == 1" as success
        (although it should never be >1)
      - different log message for timeout and error case
      
      Changes in src/daemon.c:
      - remove include for sys/select.h
      - replace connections array by new array pfd used in poll()
      - include special FDs (exit and listen) at index 0 and 1 in this array
      - no longer reorganize array while iteratig through it.
        That would have led to items being skipped.
        Instead mark array slots with fixed connections with
        a negative FD. These are automatically skipped by poll.
        Reuse these slots later when new connections come in.
      - rename num_connections to num_cslots (initial segment
        of the array that poll() should check) and
        num_conns (number of slots in this segment, that are
        actually used by connections; this number is only
        used in logging).
      - slightly enhance debug log lines
      891ed80a
  12. 21 Mar, 2021 1 commit
  13. 15 Feb, 2021 8 commits
  14. 14 Feb, 2021 2 commits
  15. 11 Feb, 2021 1 commit
  16. 27 Oct, 2020 1 commit
  17. 09 Oct, 2020 4 commits